8000 DOC Ensures ledoit_wolf_shrinkage passes numpydoc (#22748) · scikit-learn/scikit-learn@05ef752 · GitHub
[go: up one dir, main page]

Skip to content

Commit 05ef752

Browse files
authored
DOC Ensures ledoit_wolf_shrinkage passes numpydoc (#22748)
1 parent 3110ccf commit 05ef752

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

sklearn/covariance/_shrunk_covariance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def fit(self, X, y=None):
186186

187187

188188
def ledoit_wolf_shrinkage(X, assume_centered=False, block_size=1000):
189-
"""Estimates the shrunk Ledoit-Wolf covariance matrix.
189+
"""Estimate the shrunk Ledoit-Wolf covariance matrix.
190190
191191
Read more in the :ref:`User Guide <shrunk_covariance>`.
192192

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.covariance._shrunk_covariance.ledoit_wolf",
16-
"sklearn.covariance._shrunk_covariance.ledoit_wolf_shrinkage",
1716
"sklearn.datasets._base.load_sample_image",
1817
"sklearn.datasets._base.load_wine",
1918
"sklearn.datasets._california_housing.fetch_california_housing",

0 commit comments

Comments
 (0)
0