Skip to content
Snippets Groups Projects
Commit d56281e0 authored by Vlad Niculae's avatar Vlad Niculae
Browse files

explicit seeding of olivetti faces loader

parent 36b81e53
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@ rng = RandomState(0)
###############################################################################
# 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment