Skip to content

Commit

Permalink
explicit seeding of olivetti faces loader
Browse files Browse the repository at this point in the history
  • Loading branch information
vene committed Sep 19, 2011
1 parent 36b81e5 commit d56281e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/decomposition/plot_faces_decomposition.py
Expand Up @@ -34,7 +34,7 @@

###############################################################################
# Load faces data
dataset = fetch_olivetti_faces(shuffle=True)
dataset = fetch_olivetti_faces(shuffle=True, random_state=rng)
faces = dataset.data

n_samples, n_features = faces.shape
Expand Down

0 comments on commit d56281e

Please sign in to comment.