scikit-learn 1.2 will come with a new exact Newton/IRLS solver for binary logistic regression and Poisson/Gamma/Tweedie regression.
It can be much faster than LBFGS on datasets with n_samples>>n_features, in particular with sparse features (e.g. one-hot encoded categorical variables) with different rarity scales.
Full details in the following two PRs:
- https://github.com/scikit-learn/scikit-learn/pull/24767
ENH add newton-cholesky solver to LogisticRegression by lorentzenchr · Pull Request #24767 · scikit-learn/scikit-learn
Reference Issues/PRs Completes #16634. Follow-up of #24637. What does this implement/fix? Explain your changes. This adds the solver "newton-cholesky" to the classes LogisticRegression and Logistic...
