Skip to content

Commit

Permalink
DOC Fix reference to MultiTaskLassoCV in MultiTaskLasso (#27575)
Browse files Browse the repository at this point in the history
  • Loading branch information
althonos authored Oct 23, 2023
1 parent 4b64e3f commit 4d6f1c8
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions sklearn/linear_model/_coordinate_descent.py
Original file line number Diff line number Diff line change
Expand Up @@ -2399,7 +2399,8 @@ class MultiTaskElasticNet(Lasso):
MultiTaskElasticNetCV : Multi-task L1/L2 ElasticNet with built-in
cross-validation.
ElasticNet : Linear regression with combined L1 and L2 priors as regularizer.
MultiTaskLasso : Multi-task L1/L2 Lasso with built-in cross-validation.
MultiTaskLasso : Multi-task Lasso model trained with L1/L2
mixed-norm as regularizer.
Notes
-----
Expand Down Expand Up @@ -2635,8 +2636,9 @@ class MultiTaskLasso(MultiTaskElasticNet):
See Also
--------
Lasso: Linear Model trained with L1 prior as regularizer (aka the Lasso).
MultiTaskLasso: Multi-task L1/L2 Lasso with built-in cross-validation.
MultiTaskElasticNet: Multi-task L1/L2 ElasticNet with built-in cross-validation.
MultiTaskLassoCV: Multi-task L1 regularized linear model with built-in
cross-validation.
MultiTaskElasticNetCV: Multi-task L1/L2 ElasticNet with built-in cross-validation.
Notes
-----
Expand Down Expand Up @@ -2833,8 +2835,8 @@ class MultiTaskElasticNetCV(RegressorMixin, LinearModelCV):
MultiTaskElasticNet : Multi-task L1/L2 ElasticNet with built-in cross-validation.
ElasticNetCV : Elastic net model with best model selection by
cross-validation.
MultiTaskLassoCV : Multi-task Lasso model trained with L1/L2
mixed-norm as regularizer.
MultiTaskLassoCV : Multi-task Lasso model trained with L1 norm
as regularizer and built-in cross-validation.
Notes
-----
Expand Down

0 comments on commit 4d6f1c8

Please sign in to comment.