8000 typo in message in sgd · raghavrv/scikit-learn@733e92d · GitHub
[go: up one dir, main page]

Skip to content

Commit 733e92d

Browse files
committed
typo in message in sgd
1 parent 8d263ad commit 733e92d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sklearn/linear_model/stochastic_gradient.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ def __init__(self, loss, penalty='l2', alpha=0.0001, C=1.0,
7878
elif tol is None and max_iter is None:
7979
warnings.warn(
8080
"max_iter and tol parameters have been added in %s in 0.19. If"
81-
"both are left unset, they default to max_iter=5 and tol=None."
82-
" If tol is not None, max_iter defaults to max_iter=1000. "
81+
" both are left unset, they default to max_iter=5 and tol=None"
82+
". If tol is not None, max_iter defaults to max_iter=1000. "
8383
"From 0.21, default max_iter will be 1000, "
8484
"and default tol will be 1e-3." % type(self), FutureWarning)
8585
# Before 0.19, default was n_iter=5

0 commit comments

Comments
 (0)
0