Skip to content

ENH support unsupervised feature selection for percentile and k-best - #27721

Merged
lorentzenchr merged 5 commits into
scikit-learn:mainfrom
glemaitre:support_unsupervised_feature_selection
Dec 4, 2023
Merged

lorentzenchr merged 5 commits into
scikit-learn:mainfrom
glemaitre:support_unsupervised_feature_selection

Conversation

@glemaitre

@glemaitre glemaitre commented Nov 4, 2023 •

Copy link
Copy Markdown
Member

closes #27609

Allow SelectKBest, SelectPercentile, and GenericUnivariateSelection (with k-best and percentile modes) to work with unsupervised scoring function.

@github-actions

github-actions Bot commented Nov 4, 2023 •

Copy link
Copy Markdown

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: 43220b1. Link to the linter CI: here

Comment thread doc/whats_new/v1.4.rst Resolved

@thomasjpfan thomasjpfan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@thomasjpfan thomasjpfan added the Waiting for Second Reviewer First reviewer is done, need a second one! label Nov 24, 2023
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
@lorentzenchr
lorentzenchr enabled auto-merge (squash) November 30, 2023 21:46
@lorentzenchr
lorentzenchr merged commit 2d9f4c4 into scikit-learn:main Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module:feature_selection Waiting for Second Reviewer First reviewer is done, need a second one!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a version of GenericUnivariateSelect/SelectPercentile/SelectKBest that allows input of X with missing values and y=None.

4 participants