-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Convergence issues in l1 logistic regression path example #15903
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I will look tomorrow. |
I have liblinear match GENO in figure 1 when setting Now regarding SAGA I agree that it's weird. SAGA should converge to machine precision so graphs should match... bug? cc @TomDLT @arthurmensch |
SAGA is bad on small dataset, since the gradient estimate is very noisy. This is even worst when In the example, if you increase the number of iterations and decrease the tolerance ( |
Note that directly calling scikit-learn/sklearn/linear_model/_sag.py Lines 335 to 338 in 078e3ef
|
Can we warn though? |
This example:
https://scikit-learn.org/dev/auto_examples/linear_model/plot_logistic_path.html
Shows wrong results according to
https://papers.nips.cc/paper/8491-geno-generic-optimization-for-classical-machine-learning.pdf
I'm surprised the data is not scaled, I wouldn't expect saga to work without scaling. That paper has some other interesting graphs also.
cc @agramfort who might now actually see this ping [you did unfollow the repo, right?]
The text was updated successfully, but these errors were encountered: