Skip to content

MAINT validate parameters in DummyRegressor and DummyClassifier#23645

Merged
jeremiedbb merged 12 commits intoscikit-learn:mainfrom
Nwanna-Joseph:validate_dummies
Jun 28, 2022
Merged

MAINT validate parameters in DummyRegressor and DummyClassifier#23645
jeremiedbb merged 12 commits intoscikit-learn:mainfrom
Nwanna-Joseph:validate_dummies

Conversation

@Nwanna-Joseph
Copy link
Copy Markdown
Contributor

Reference Issues/PRs

See PR #23462

What does this implement/fix? Explain your changes.

Add validators for DummyClassifier and DummyRegressor. Towards #23462

Any other comments?

@glemaitre glemaitre added Validation related to input validation No Changelog Needed labels Jun 16, 2022
@glemaitre glemaitre changed the title [MRG] Use _validate_params in DummyRegressor and DummyClassifier MAINT validate parameters in DummyRegressor and DummyClassifier Jun 27, 2022
@glemaitre glemaitre self-requested a review June 27, 2022 09:28
Copy link
Copy Markdown
Member

@glemaitre glemaitre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I pushed some changes since there is some collateral failures in successive halving tests.

@Nwanna-Joseph
Copy link
Copy Markdown
Contributor Author

I pushed some changes since there is some collateral failures in successive halving tests.

Thanks.

@glemaitre glemaitre reopened this Jun 27, 2022
@glemaitre
Copy link
Copy Markdown
Member

@Nwanna-Joseph do not close the PR until someone else validates it and merges it.
We have currently a single approval.

@Nwanna-Joseph
Copy link
Copy Markdown
Contributor Author

Mistakenly closed this. Reopening.

@Nwanna-Joseph
Copy link
Copy Markdown
Contributor Author

@Nwanna-Joseph do not close the PR until someone else validates it and merges it. We have currently a single approval.

Thanks. That was a mistake. Quick typing.

Copy link
Copy Markdown
Member

@jeremiedbb jeremiedbb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks @Nwanna-Joseph.

@jeremiedbb jeremiedbb merged commit f5e02df into scikit-learn:main Jun 28, 2022
ogrisel pushed a commit to ogrisel/scikit-learn that referenced this pull request Jul 11, 2022
…it-learn#23645)

Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: jeremiedbb <jeremiedbb@yahoo.fr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

No Changelog Needed Validation related to input validation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants