Skip to content

Commit

Permalink
FIX: more accurate description of eta0 in SGDClassifier
Browse files Browse the repository at this point in the history
  • Loading branch information
ogrisel committed Sep 20, 2013
1 parent 1a79640 commit cb7b423
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions sklearn/linear_model/stochastic_gradient.py
Original file line number Diff line number Diff line change
Expand Up @@ -599,11 +599,13 @@ class SGDClassifier(BaseSGDClassifier, _LearntSelectorMixin):
learning_rate : string, optional
The learning rate:
constant: eta = eta0
optimal: eta = 1.0/(t+t0) [default]
optimal: eta = 1.0 / (t + t0) [default]
invscaling: eta = eta0 / pow(t, power_t)
eta0 : double
The initial learning rate [default 0.01].
The initial learning rate for the 'constant' or 'invscaling'
schedules. The default value is 0.0 as eta0 is not used by the
default schedule 'optimal'.
power_t : double
The exponent for inverse scaling learning rate [default 0.5].
Expand Down

0 comments on commit cb7b423

Please sign in to comment.