Skip to content

FIX: partial_fit from SelectFromModel doesn't validate the parameters #23299

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 13 commits into from
May 11, 2022

Conversation

lorentzbao
Copy link
Contributor

@lorentzbao lorentzbao commented May 7, 2022

Reference Issues/PRs

Fixes #23277

What does this implement/fix? Explain your changes.

Add max_features and feature_names_in_ validation to partial_fit method.

Any other comments?

Still being a new contributor to this project. Appreciate any comments.

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.

Thank you for the PR!

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.

Minor comment, otherwise LGTM

@glemaitre glemaitre merged commit eace47a into scikit-learn:main May 11, 2022
@glemaitre
Copy link
Member

LGTM. Thanks @lorentzbao

@thomasjpfan thomasjpfan added this to the 1.1.1 milestone May 17, 2022
@thomasjpfan thomasjpfan added the To backport PR merged in master that need a backport to a release branch defined based on the milestone. label May 17, 2022
glemaitre added a commit to glemaitre/scikit-learn that referenced this pull request May 19, 2022
…cikit-learn#23299)

Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
glemaitre added a commit that referenced this pull request May 19, 2022
…23299)

Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
glemaitre added a commit to glemaitre/scikit-learn that referenced this pull request Aug 4, 2022
…cikit-learn#23299)

Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
glemaitre added a commit that referenced this pull request Aug 5, 2022
…23299)

Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module:feature_selection To backport PR merged in master that need a backport to a release branch defined based on the milestone.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

partial_fit from SelectFromModel doesn't validate the parameters
3 participants