BugModeratehelp wantedmodule:linear_model
Métricas do repositório
- Stars
- (66.084 stars)
- Métricas de merge de PR
- (Mesclagem média 10d) (90 fundiu PRs em 30d)
Description
Description
The newly introduced tight tests for Ridge in #22910 together with the random seed fixture in #22749 revealed some shortcomings of the sag and saga solver, some are already mentioned in #21305:
It shows some random behavior even with fixed random seed.- The
tolneeds to be set much smaller to receive comparable results with the other solvers ofRidge. - Saga seems more stable on dense data
X, and often needs much more iterations on sparseX. fit_intercept=Trueseems to converge slower.
Ideally, the cause for both issues can be identified and fixed.
Some links for context
https://github.com/scikit-learn/scikit-learn/issues/23014 https://github.com/scikit-learn/scikit-learn/pull/23017 https://github.com/scikit-learn/scikit-learn/pull/23026 https://github.com/scikit-learn/scikit-learn/pull/23152 #23177 #25198