Skip to content

Commit

Permalink
DOC Add missing backquote in LogisticRegression docstring (#16106)
Browse files Browse the repository at this point in the history
  • Loading branch information
johannfaouzi authored and glemaitre committed Jan 13, 2020
1 parent 133d1ce commit dd93e01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sklearn/linear_model/_logistic.py
Original file line number Diff line number Diff line change
Expand Up @@ -1157,7 +1157,7 @@ class LogisticRegression(BaseEstimator, LinearClassifierMixin,
l1_ratio : float, default=None
The Elastic-Net mixing parameter, with ``0 <= l1_ratio <= 1``. Only
used if ``penalty='elasticnet'`. Setting ``l1_ratio=0`` is equivalent
used if ``penalty='elasticnet'``. Setting ``l1_ratio=0`` is equivalent
to using ``penalty='l2'``, while setting ``l1_ratio=1`` is equivalent
to using ``penalty='l1'``. For ``0 < l1_ratio <1``, the penalty is a
combination of L1 and L2.
Expand Down

0 comments on commit dd93e01

Please sign in to comment.