8000 DOC Add missing backquote in LogisticRegression docstring (#16106) · jeremiedbb/scikit-learn@dd93e01 · GitHub
[go: up one dir, main page]

8000
Skip to content

Commit dd93e01

Browse files
johannfaouziglemaitre
authored andcommitted
DOC Add missing backquote in LogisticRegression docstring (scikit-learn#16106)
1 parent 133d1ce commit dd93e01

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
@@ -1157,7 +1157,7 @@ class LogisticRegression(BaseEstimator, LinearClassifierMixin,
11571157
11581158
l1_ratio : float, default=None
11591159
The Elastic-Net mixing parameter, with ``0 <= l1_ratio <= 1``. Only
1160-
used if ``penalty='elasticnet'`. Setting ``l1_ratio=0`` is equivalent
1160+
used if ``penalty='elasticnet'``. Setting ``l1_ratio=0`` is equivalent
11611161
to using ``penalty='l2'``, while setting ``l1_ratio=1`` is equivalent
11621162
to using ``penalty='l1'``. For ``0 < l1_ratio <1``, the penalty is a
11631163
combination of L1 and L2.

0 commit comments

Comments
 (0)
0