Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scikit-learn
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ian Johnson
scikit-learn
Commits
708d3a3f
Commit
708d3a3f
authored
11 years ago
by
Ilambharathi Kanniah
Committed by
Arnaud Joly
10 years ago
Browse files
Options
Downloads
Patches
Plain Diff
DOC Document return of fetch_olivetti_faces
parent
5cab6c9e
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
sklearn/datasets/olivetti_faces.py
+17
-3
17 additions, 3 deletions
sklearn/datasets/olivetti_faces.py
with
17 additions
and
3 deletions
sklearn/datasets/olivetti_faces.py
+
17
−
3
View file @
708d3a3f
...
@@ -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
------
------
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment