8000 ENH Add feature_names_out to voting estimators by thomasjpfan · Pull Request #22697 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

ENH Add feature_names_out to voting estimators #22697

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

Conversation

thomasjpfan
Copy link
Member

Reference Issues/PRs

Towards #21308

What does this implement/fix? Explain your changes.

This PR adds get_feature_names_out to voting classifiers. Note that voting='soft' and flatten_transform=False has no feature names because the transform is 3d.

Copy link
Member
@ogrisel ogrisel 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 for the PR!

Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
@ogrisel ogrisel added the Quick Review For PRs that are quick to review label Mar 7, 2022
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.

A few nitpicks. LGTM otherwise.

@thomasjpfan thomasjpfan force-pushed the voting_get_feature_names_out branch from 01b91d9 to 9b9d534 Compare March 8, 2022 18:52
@jeremiedbb jeremiedbb merged commit 692225d into scikit-learn:main Mar 8, 2022
@jeremiedbb
Copy link
Member

The last one ! thanks @thomasjpfan !

glemaitre pushed a commit to glemaitre/scikit-learn that referenced this pull request Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module:ensemble Quick Review For PRs that are quick to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0