Skip to content

Commit eefcb11

Browse files
DOC add link to plot_lw_vs_oas example in docstrings (#30577)
1 parent 28c0067 commit eefcb11

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

sklearn/covariance/_shrunk_covariance.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,8 @@ class LedoitWolf(EmpiricalCovariance):
565565
array([ 0.0595... , -0.0075...])
566566
567567
See also :ref:`sphx_glr_auto_examples_covariance_plot_covariance_estimation.py`
568-
for a more detailed example.
568+
and :ref:`sphx_glr_auto_examples_covariance_plot_lw_vs_oas.py`
569+
for more detailed examples.
569570
"""
570571

571572
_parameter_constraints: dict = {
@@ -785,7 +786,8 @@ class OAS(EmpiricalCovariance):
785786
np.float64(0.0195...)
786787
787788
See also :ref:`sphx_glr_auto_examples_covariance_plot_covariance_estimation.py`
788-
for a more detailed example.
789+
and :ref:`sphx_glr_auto_examples_covariance_plot_lw_vs_oas.py`
790+
for more detailed examples.
789791
"""
790792

791793
@_fit_context(prefer_skip_nested_validation=True)

0 commit comments

Comments
 (0)