8000 DOC Add link to plot_lasso_lars_ic in LassoLarsIC docstring · scikit-learn/scikit-learn@dc35a93 · GitHub
[go: up one dir, main page]

Skip to content

Commit dc35a93

Browse files
committed
DOC Add link to plot_lasso_lars_ic in LassoLarsIC docstring
1 parent bde701d commit dc35a93

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sklearn/linear_model/_least_angle.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2178,6 +2178,10 @@ class LassoLarsIC(LassoLars):
21782178
LassoLarsIC(criterion='bic')
21792179
>>> print(reg.coef_)
21802180
[ 0. -1.11]
2181+
2182+
For a visual example of using LassoLarsIC for model selection
2183+
with BIC, see
2184+
:ref:`sphx_glr_auto_examples_linear_model_plot_lasso_lars_ic.py`.
21812185
"""
21822186

21832187
_parameter_constraints: dict = {

0 commit comments

Comments
 (0)
0