Skip to content

Commit aea3cfb

Browse files
authored
DOC Fix typo in alpha parameter description (#25453)
1 parent b3bd78a commit aea3cfb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

sklearn/linear_model/_stochastic_gradient.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -962,9 +962,8 @@ class SGDClassifier(BaseSGDClassifier):
962962
963963
alpha : float, default=0.0001
964964
Constant that multiplies the regularization term. The higher the
965-
value, the stronger the regularization.
966-
Also used to compute the learning rate when set to `learning_rate` is
967-
set to 'optimal'.
965+
value, the stronger the regularization. Also used to compute the
966+
learning rate when `learning_rate` is set to 'optimal'.
968967
Values must be in the range `[0.0, inf)`.
969968
970969
l1_ratio : float, default=0.15

0 commit comments

Comments
 (0)