-
Notifications
You must be signed in to change notification settings - Fork 34
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
Solver - add a wrapper for scipy
L-BFGS solver
#165
Solver - add a wrapper for scipy
L-BFGS solver
#165
Conversation
scipy
BFGS solverscipy
L-BFGS solver
Can you run it quickly on moderate size datasets in https://github.com/benchopt/benchmark_logreg_l2 ? |
|
||
Parameters | ||
---------- | ||
max_iter : int, default 20 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this is quite small, is it enough on a 1000 x 1000 dataset for example?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
50?
Here are the benchmark figures of skglm lbfgs vs. scikit-learn lbfgs |
I can't see the iterations on it, how many iterations does it take to converge? |
My apologies, I performed the benchmark using an old version of Here the new figures.
Several parameters determine the convergence of Should we fix that, @mathurinm? |
This adds a BFGS to the solvers' toolbox of
skglm
.It proceeds as follows:
scipy.optimize.minimize(method="L-BFGS-B")
scikit-learn
L2-Logistic regression