8000 added comment · scikit-learn/scikit-learn@6a7d1c1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6a7d1c1

Browse files
committed
added comment
1 parent 3655ce3 commit 6a7d1c1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sklearn/covariance/_shrunk_covariance.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424

2525

2626
def _oas(X, *, assume_centered=False):
27+
"""Estimate covariance with the Oracle Approximating Shrinkage algorithm."""
2728
# for only one feature, the result is the same whatever the shrinkage
2829
if len(X.shape) == 2 and X.shape[1] == 1:
2930
if not assume_centered:

0 commit comments

Comments
 (0)
0