-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
[WIP] FIX remove validation from __init__ and set_param #16945
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
Conversation
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.
I am looking forward to a cleaner API.
Should this be MRG? Or is it waiting for something? |
The failing codecov is legit last time I checked, but I haven't gotten around to write the tests for them. |
@adrinjalali – is there anything you need to help get this finished? |
@proinsias there's a bit of work left here. But if you're interested, you can take a single estimator at a time, starting from the easier ones, and create a PR tackling them. Once I'll get back to this issue, I'll continue where you've left then. |
I would be happy to work on a couple of estimators to help here |
Closing as done in #21406 |
Fixes #12652
This PR takes the approach of "validations in
__init__
andset_params
have been bugs and are fixed w/o a deprecation warning", and moves all validation/private attribute setting tofit
or other relevant methods.