Wrong default learning_rate in SGDRegressor docstring
See original GitHub issueDefault learning_rate
in SGDRegressor
is ‘invscaling’, but the doc says it’s ‘optimal’.
The docstring needs to be updated.
(By the way, do you known why default is ‘invscaling’ in SGDRegressor
and ‘optimal’ in SGDClassifier
?)
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
1.5. Stochastic Gradient Descent - Scikit-learn
Often, an instance of SGDClassifier or SGDRegressor will have an equivalent ... For regression the default learning rate schedule is inverse scaling ......
Read more >1.5. Stochastic Gradient Descent - Scikit-learn
The class SGDRegressor implements a plain stochastic gradient descent learning routine which ... For classification, the default learning rate schedule ...
Read more >python - SGDRegressor() constantly not increasing validation ...
For best results using the default learning rate schedule, the data should have zero mean and unit variance. Details here.
Read more >scikit-learn user guide - Math-Unipd
The classes SGDClassifier and SGDRegressor provide functionality to fit linear ... For regression, the default learning rate schedule, ...
Read more >scikit-learn user guide
1.2.1 What is the project name (a lot of people get it wrong)? ... For classification, the default learning rate schedule.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
https://github.com/bodhwani/scikit-learn/blob/master/sklearn/linear_model/stochastic_gradient.py#L1259
@TomDLT we are trying to use “good first issue” for this kind of things rather than “Easy”. See https://github.com/scikit-learn/scikit-learn/pull/9950 for more details.