Skip to content

Commit 8a9a882

Browse files
authored
DOC Update Lasso class docstring _coordinate_descent.py (scikit-learn#30911)
1 parent f83a15b commit 8a9a882

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

sklearn/linear_model/_coordinate_descent.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1276,9 +1276,7 @@ class Lasso(ElasticNet):
12761276
reduces the variance of the estimates. Larger values specify stronger
12771277
regularization. Alpha corresponds to `1 / (2C)` in other linear
12781278
models such as :class:`~sklearn.linear_model.LogisticRegression` or
1279-
:class:`~sklearn.svm.LinearSVC`. If an array is passed, penalties are
1280-
assumed to be specific to the targets. Hence they must correspond in
1281-
number.
1279+
:class:`~sklearn.svm.LinearSVC`.
12821280
12831281
The precise stopping criteria based on `tol` are the following: First, check that
12841282
that maximum coordinate update, i.e. :math:`\\max_j |w_j^{new} - w_j^{old}|`

0 commit comments

Comments
 (0)