-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
MAINT validate parameters in Birch #23593
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
1438ded
to
34a8df7
Compare
3249cd8
to
7a44078
Compare
_validate_params
in Birch
_validate_params
in Birch
_validate_params
in Birch
_validate_params
in Birch
estimator
22b36d1
to
557a57a
Compare
_validate_params
in Birch
estimatorThere 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.
LGTM. I think that we should let the test that checks for passing a non-ClusterMixin
estimator since it is not covered by the common test specifically.
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.
LGTM. I just updated the docstring to reflect the fact that None is valid for n_clusters
Thanks @kianelbo |
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com> Co-authored-by: jeremiedbb <jeremiedbb@yahoo.fr>
Reference Issues/PRs
towards #23462
What does this implement/fix? Explain your changes.
Added
_parameter_constraints
for Birch and removed the existing individual param checks.