8000 DOC Fix typo `LogisticRegressionCV` docstring (#28746) · patrickkwang/scikit-learn@0e19a48 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0e19a48

Browse files
authored
DOC Fix typo LogisticRegressionCV docstring (scikit-learn#28746)
1 parent 65ba91b commit 0e19a48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/linear_model/_logistic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1413,7 +1413,7 @@ class LogisticRegressionCV(LogisticRegression, LinearClassifierMixin, BaseEstima
14131413
See glossary entry for :term:`cross-validation estimator`.
14141414
14151415
This class implements logistic regression using liblinear, newton-cg, sag
1416-
of lbfgs optimizer. The newton-cg, sag and lbfgs solvers support only L2
1416+
or lbfgs optimizer. The newton-cg, sag and lbfgs solvers support only L2
14171417
regularization with primal formulation. The liblinear solver supports both
14181418
L1 and L2 regularization, with a dual formulation only for the L2 penalty.
14191419
Elastic-Net penalty is only supported by the saga solver.

0 commit comments

Comments
 (0)
0