Repository navigation
ENH add L1/enet capable solvers newton-cd and newton-cd-gram to LogisticRegression - #33160
lorentzenchr wants to merge 10 commits into
Conversation
Benchmarks (only tables, no plots)
L2-penalty on make_regression
Summary:
DetailsL1-penalty on make_regression
Summary:
DetailsL1 penalty on 20newsgroup
Summary:
Details |
a826b35 to
e408c49
Compare
|
Interesting. Have you tried to check if setting a lower |
No, I just set it a bit tighter than the default, tol=1e-5 instead of 1e-4. (Also, I randomly chose C=1 😏) |
d487f9e to
0841e99
Compare
0841e99 to
9fdac8f
Compare
9fdac8f to
ad047d0
Compare
ad047d0 to
9dbef38
Compare
…odelLoss and NewtonCholeskySolver
9dbef38 to
4c8d91f
Compare
|
@ogrisel @OmarManzoor @virchan This PR is quite large. But the commits are super clean. Would you be able to review if I make 4-5 smaller PRs out of it? |
|
#34681 was merged |







Reference Issues/PRs
Contributes to #16637.
What does this implement/fix? Explain your changes.
This PR implements two proximal Newton solvers relying on the available coordinate descent solvers:
enet_coordinate_descent_gramGood for n_samples >> n_features
Good for L1 penalties in combination with n_features >> n_samples.
These solvers work for all GLMs, but this PR only makes them available in
LogisticRegression.Why 2 new solvers?
AI usage disclosure
No AI usage.
Any other comments?
If we deem these 2 solvers a good addition, we might consider to retire liblinear.
Some further remarks:
TODO
Split in multiple smaller PRs: