skglm
skglm copied to clipboard
Include ElasticNet like regularization for SparseLogisticRegression
Context of the PR
Tries to add an ElasticNet like regularization for SparseLogisticRegression
Contributions of the PR
Added an L1_plus_L2 penalty
Checks before merging PR
- [ ] added documentation for any new feature
- [ ] added unittests
- [ ] edited the what's new(if applicable)
Closes #231
Hi @hoodaty, to ease reviewing we try to address only one issue per PR ; your latest commit is for #231 rather than for #223, so can you revert its changes, and do a separate PR for the changes required by #231? Thanks a lot
Sorry @mathurinm for the misunderstanding, I tried doing it, is it alright now?
Yes much better like this, thank you!
Can you add "Closes #231" in the first message of this PR, so that the corresponding is matched and closed automatically when this is merged?
As for any new feature, you need to add a new unit test to check that the implementation is correct.
A good test would be to check that we get the same results as https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html when using penalty="elasticnet"
@hoodaty do you have any update on this?