We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22cf46e commit c5c2b37Copy full SHA for c5c2b37
sklearn/covariance/shrunk_covariance_.py
@@ -486,6 +486,10 @@ class OAS(EmpiricalCovariance):
486
The formula used here does not correspond to the one given in the
487
article. It has been taken from the Matlab program available from the
488
authors' webpage (http://tbayes.eecs.umich.edu/yilun/covestimation).
489
+ In the original article, formula (23) states that 2/p is multiplied by
490
+ Trace(cov*cov) in both the numerator and denominator, this operation is omitted
491
+ in the author's MATLAB program because for a large p, the value of 2/p is so
492
+ small that it doesn't affect the value of the estimator.
493
494
Parameters
495
----------
0 commit comments