-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
BENCH newton-lsmr solver for GLMs - inner stopping criterion #26707
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
base: main
Are you sure you want to change the base?
BENCH newton-lsmr solver for GLMs - inner stopping criterion #26707
Conversation
- keep dtype float32 after LSMR - lower test precision in test_NewtonLSMRSolver_multinomial_A_b_on_3_classes
* SKLEARN_TESTS_GLOBAL_RANDOM_SEED="all" pytest -x
* for benchmarking of inner stopping criterion of inexact Newton methods
❌ Linting issuesMerging with This PR is introducing linting issues. Here's a summary of the issues. Note that you can avoid having linting issues by enabling You can see the details of the linting issues under the
|
Reference Issues/PRs
This PR is not for merge, but for analysis of #25462.
The newton-lsmr solver needs a good inner stopping criterion with a good forcing sequence. This is investigated here and benchmarks are run.
For stopping criteria of inexact Newton methods (mainly conjugate gradient for inner solver) see:
https://www.csie.ntu.edu.tw/~cjlin/papers/tncg/tncg.pdf
https://doi.org/10.1109/TNNLS.2020.3045836
Any other comments?
See added notebook Bench_Newton_LSMR.ipynb in this PR for analysis results.