-
Notifications
You must be signed in to change notification settings - Fork 2k
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
PUBDEV-7973 glm beta constraints not working #5842
PUBDEV-7973 glm beta constraints not working #5842
Conversation
75b9ef3
to
a157cc2
Compare
5e476ea
to
5971e81
Compare
bc2d2b3
to
45b5aea
Compare
@wendycwong can we also add a self-check that will test that the coefficients after training are within the bounds == the algorithm will do the check itself and will never return unexpected results |
@michalk: Good idea. |
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.
Thank you Wendy - looks great, well tested
e32234d
to
747c6b5
Compare
Add Michalk test Fix bug to change beta for numerical colummns Move beta constraints after application of LS added beta constraints tests Fixed bug on when to add beta constraints Add coefficient magnitude check to tests to make sure limits are respected. Allow user to specify beta_constraints as a python dict. Fixed bug when _non_negative=True Fixed Junit smoke test failure revert COD beta constraints but add extra after LS added final self-check to make sure coefficients are within beta constraints Copy xgboost and make the check for beta constraints defeatable for debugging purposes Rename monotonicity check to beta constraints check
747c6b5
to
9ce31e6
Compare
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.
Looks good to me. Thank you @wendycwong !
This PR fixes the problems in JIRA: https://h2oai.atlassian.net/browse/PUBDEV-7973.
This is a two part JIRA. One is to fix the problem with beta constraints not working and the other one is to add additional ways to specify beta constraints per Megan Kurka suggestion
Done: