Skip to content

Commit 0dbbf19

Browse files
committed
DOC random_state is an arg to LogisticRegression
1 parent 29e9ed1 commit 0dbbf19

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sklearn/linear_model/logistic.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ class LogisticRegression(BaseLibLinear, LinearClassifierMixin,
5757
The 'auto' mode selects weights inversely proportional to class
5858
frequencies in the training set.
5959
60+
random_state: int seed, RandomState instance, or None (default)
61+
The seed of the pseudo random number generator to use when
62+
shuffling the data.
63+
6064
tol: float, optional
6165
Tolerance for stopping criteria.
6266
@@ -72,10 +76,6 @@ class LogisticRegression(BaseLibLinear, LinearClassifierMixin,
7276
Intercept (a.k.a. bias) added to the decision function.
7377
If `fit_intercept` is set to False, the intercept is set to zero.
7478
75-
random_state: int seed, RandomState instance, or None (default)
76-
The seed of the pseudo random number generator to use when
77-
shuffling the data.
78-
7979
See also
8080
--------
8181
SGDClassifier: incrementally trained logistic regression (when given

0 commit comments

Comments
 (0)