-
Notifications
You must be signed in to change notification settings - Fork 538
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEA] Support L1 regularization and ElasticNet in MNMG Dask LogisticRegression #5587
Conversation
3eb087b
to
4b54439
Compare
4b54439
to
bef6676
Compare
bef6676
to
85fac64
Compare
e72f4e9
to
b1a4c7e
Compare
@csadorf Thanks for the review! Just submitted the revised PR. Please help take a look. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lijinf2 I'm sorry for being late to this review but LBFGS expects differentiable objectives and the lasso objective, while being convex, is not differentiable everywhere.
The owl-qn method is an extension of lbfgs that supports lasso. The single-gpu lasso-logistic uses owl-qn and we should be doing the same for the distributed version as well.
Thanks for helping look at the PR! The distributed version has been modified to reuse single-gpu In my local pytest verbose logs, "qn_solvers.cuh:323 Running OWL-QN" was printed out in all test cases of test_l1 and test_elasticnet, while "qn_solvers.cuh:180 Running L-BFGS" was printed out in all test cases of test_lbfgs (penalty is l2) and test_noreg (penalty is none). So it seems the distributed version has been doing the same as single-gpu. Let me know if you meant to revise the code or test cases! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In my local pytest verbose logs, "qn_solvers.cuh:323 Running OWL-QN" was printed out in all test cases of test_l1
This is perfect. Thanks @lijinf2!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One suggestion for improvement of the test code, but LGTM!
Co-authored-by: Simon Adorf <sadorf@nvidia.com>
/merge |
This PR depends on PR5565.