Skip to content

MAINT validate parameter in RobustScaler #23588

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

Merged
merged 8 commits into from
Jun 27, 2022

Conversation

SangamSwadiK
Copy link
Contributor

Reference Issues/PRs

Issue: #23462 validating estimator params

What does this implement/fix? Explain your changes.

  • Implements parameter validation for robust scaler.
  • the fit method calls _validate_parameters as the first step to validate it.

Any other comments?

Please let me know if I missed something / did it incorrectly, ill fix it asap.

SangamSwadiK and others added 3 commits June 11, 2022 09:21
Remove Robust Scaler from to be validated
Add validation to robust scaler and check for validation in fit.
@jeremiedbb jeremiedbb added the Validation related to input validation label Jun 13, 2022
@jeremiedbb
Copy link
Member

Thanks for the PR @SangamSwadiK. I directly pushed some changes to take into account recent improvements in the validation mechanism.

Copy link
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

@SangamSwadiK SangamSwadiK changed the title Add parameter validation robust scaler [MRG]Add parameter validation robust scaler Jun 24, 2022
@glemaitre glemaitre changed the title [MRG]Add parameter validation robust scaler MAINT validate parameter in RobustScaler Jun 27, 2022
@glemaitre glemaitre self-requested a review June 27, 2022 07:48
Copy link
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.

LGTM.

@glemaitre glemaitre merged commit 76ea15f into scikit-learn:main Jun 27, 2022
@glemaitre
Copy link
Member

Thanks @SangamSwadiK Merging.

ogrisel pushed a commit to ogrisel/scikit-learn that referenced this pull request Jul 11, 2022
Co-authored-by: Sangam Swadi K <sangamswadik@users.noreply.github.com>
Co-authored-by: jeremie du boisberranger <jeremiedbb@yahoo.fr>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants