Skip to content
Snippets Groups Projects
Commit 708d3a3f authored by Ilambharathi Kanniah's avatar Ilambharathi Kanniah Committed by Arnaud Joly
Browse files

DOC Document return of fetch_olivetti_faces

parent 5cab6c9e
Branches
Tags
No related merge requests found
...@@ -64,13 +64,27 @@ def fetch_olivetti_faces(data_home=None, shuffle=False, random_state=0, ...@@ -64,13 +64,27 @@ def fetch_olivetti_faces(data_home=None, shuffle=False, random_state=0,
If True the order of the dataset is shuffled to avoid having If True the order of the dataset is shuffled to avoid having
images of the same person grouped. images of the same person grouped.
random_state : optional, integer or RandomState object
The seed or the random number generator used to shuffle the
data.
download_if_missing: optional, True by default download_if_missing: optional, True by default
If False, raise a IOError if the data is not locally available If False, raise a IOError if the data is not locally available
instead of trying to download the data from the source site. instead of trying to download the data from the source site.
random_state : optional, integer or RandomState object Returns
The seed or the random number generator used to shuffle the --------
data. data : array of shape 400
Each face image is an array of shape 4096 (reshaped)
images : array of shape 400
Each face image is an array of shape 64 x 64.
target : array of shape 400
Labels of face images with values ranging between 0-39.
DESCR : string
Description of the modified Olivetti Faces Dataset.
Notes Notes
------ ------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment