Skip to content

[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

Closed
wants to merge 14 commits into from

Conversation

adrinjalali
Copy link
Member

Fixes #12652

This PR takes the approach of "validations in __init__ and set_params have been bugs and are fixed w/o a deprecation warning", and moves all validation/private attribute setting to fit or other relevant methods.

@adrinjalali adrinjalali changed the title FIX remove validation from __init__ and set_param [WIP] FIX remove validation from __init__ and set_param Apr 17, 2020
Copy link
Member

@thomasjpfan thomasjpfan left a 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.

@jnothman
Copy link
Member

Should this be MRG? Or is it waiting for something?

@adrinjalali
Copy link
Member Author

The failing codecov is legit last time I checked, but I haven't gotten around to write the tests for them.

Base automatically changed from master to main January 22, 2021 10:52
@proinsias
Copy link
Contributor

@adrinjalali – is there anything you need to help get this finished?

@adrinjalali
Copy link
Member Author

@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.

@glemaitre
Copy link
Member

I would be happy to work on a couple of estimators to help here

@adrinjalali
Copy link
Member Author

Closing as done in #21406

@adrinjalali adrinjalali deleted the fit/validate branch September 15, 2022 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Warnings in common tests about set_params
5 participants