Skip to content

Commit

Permalink
Revert "DOC add target_names to docsting of LFW fetchers (#23582)" (#…
Browse files Browse the repository at this point in the history
…23794)

This reverts commit 7521fab.
  • Loading branch information
glemaitre committed Jun 29, 2022
1 parent 7521fab commit baf0ea2
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions sklearn/datasets/_lfw.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,9 +308,6 @@ def fetch_lfw_people(
target : numpy array of shape (13233,)
Labels associated to each face image.
Those labels range from 0-5748 and correspond to the person IDs.
target_names : numpy array of shape (5749,)
Names of all persons in the dataset.
Position in array corresponds to the person ID in the target array.
DESCR : str
Description of the Labeled Faces in the Wild (LFW) dataset.
Expand Down Expand Up @@ -492,9 +489,6 @@ def fetch_lfw_pairs(
target : numpy array of shape (2200,). Shape depends on ``subset``.
Labels associated to each pair of images.
The two label values being different persons or the same person.
target_names : numpy array of shape (2,)
Explains the target values of the target array.
0 corresponds to "Different person", 1 corresponds to "same person".
DESCR : str
Description of the Labeled Faces in the Wild (LFW) dataset.
Expand Down

0 comments on commit baf0ea2

Please sign in to comment.