Skip to content

ENH Newton-CD part 6: add l1_ratio to GLMs and expose newton-cd-gram as solver - #34523

Merged
virchan merged 4 commits into
scikit-learn:mainfrom
lorentzenchr:logistic_lasso_newton_part_6
Jul 21, 2026
Merged

virchan merged 4 commits into
scikit-learn:mainfrom
lorentzenchr:logistic_lasso_newton_part_6

Conversation

@lorentzenchr

@lorentzenchr lorentzenchr commented Jul 20, 2026 •

Copy link
Copy Markdown
Member

Reference Issues/PRs

Part 6 of #33160, follow-up of #34377.

What does this implement/fix? Explain your changes.

This PR:

  • adds l1_ratio to PoissonRegressor, GammaRegressor and TweedieRegressor
  • changelog entry for newton-cd-gram

AI usage disclosure

None

Any other comments?

@lorentzenchr

Copy link
Copy Markdown
Member Author

@OmarManzoor @virchan The fun goes on 😄

@lorentzenchr lorentzenchr changed the title ENH add l1_ratio to GLMs and expose newton-cd-gram as solver ENH Newton-CD part 6: add l1_ratio to GLMs and expose newton-cd-gram as solver Jul 20, 2026

@OmarManzoor OmarManzoor left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you @lorentzenchr

Comment thread sklearn/linear_model/_glm/glm.py Resolved
Comment thread sklearn/linear_model/_glm/glm.py Resolved
Comment thread sklearn/linear_model/_glm/glm.py Resolved
Comment thread sklearn/linear_model/_glm/glm.py Resolved
@OmarManzoor OmarManzoor added the Waiting for Second Reviewer First reviewer is done, need a second one! label Jul 20, 2026

@virchan virchan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks, everyone!

@virchan
virchan merged commit 269c84b into scikit-learn:main Jul 21, 2026
33 checks passed
@lorentzenchr
lorentzenchr deleted the logistic_lasso_newton_part_6 branch July 21, 2026 05:55
prady0t pushed a commit to prady0t/scikit-learn that referenced this pull request Sep 2, 2026
@jeremiedbb jeremiedbb mentioned this pull request Sep 8, 2026
14 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module:linear_model Waiting for Second Reviewer First reviewer is done, need a second one!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add L1 penalty and coordinate descent solver to TweedieRegression

3 participants