Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5f4f628

Browse files
authored
DOC Ensures that fetch_lfw_pairs passes numpydoc validation (#23655)
1 parent 158b620 commit 5f4f628

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

sklearn/datasets/_lfw.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ def fetch_lfw_pairs(
464464
slice_ : tuple of slice, default=(slice(70, 195), slice(78, 172))
465465
Provide a custom 2D slice (height, width) to extract the
466466
'interesting' part of the jpeg files and avoid use statistical
467-
correlation from the background
467+
correlation from the background.
468468
469469
download_if_missing : bool, default=True
470470
If False, raise a IOError if the data is not locally available
@@ -491,7 +491,6 @@ def fetch_lfw_pairs(
491491
The two label values being different persons or the same person.
492492
DESCR : str
493493
Description of the Labeled Faces in the Wild (LFW) dataset.
494-
495494
"""
496495
lfw_home, data_folder_path = _check_fetch_lfw(
497496
data_home=data_home, funneled=funneled, download_if_missing=download_if_missing

sklearn/tests/test_docstrings.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
FUNCTION_DOCSTRING_IGNORE_LIST = [
1515
"sklearn.datasets._kddcup99.fetch_kddcup99",
16-
"sklearn.datasets._lfw.fetch_lfw_pairs",
1716
"sklearn.datasets._lfw.fetch_lfw_people",
1817
"sklearn.datasets._samples_generator.make_gaussian_quantiles",
1918
"sklearn.datasets._samples_generator.make_spd_matrix",

0 commit comments

Comments
 (0)