Skip to content
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

ENH Makes OneToOneFeatureMixin and ClassNamePrefixFeaturesOutMixin public #24688

Merged
merged 7 commits into from
Oct 18, 2022

Conversation

thomasjpfan
Copy link
Member

Reference Issues/PRs

Follow up to #23734

What does this implement/fix? Explain your changes.

This PR adds OneToOneFeatureMixin and ClassNamePrefixFeaturesOutMixin as public API. This makes it easier to define get_feature_names_out which enables the set_output API.

Any other comments?

There was a discussion on twitter about third party adoption of the set_output API.

@thomasjpfan thomasjpfan added this to the 1.2 milestone Oct 18, 2022
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.

The failure is unrelated. I am fine with exposing those mixins.

Copy link
Member

@adrinjalali adrinjalali left a comment

Choose a reason for hiding this comment

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

Yes Please :)

@glemaitre glemaitre merged commit 1dc23d7 into scikit-learn:main Oct 18, 2022
@glemaitre
Copy link
Member

Merging then. I solved the conflict that is resulting from the update of the set_output documentation.

glemaitre added a commit to glemaitre/scikit-learn that referenced this pull request Oct 31, 2022
…blic (scikit-learn#24688)

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
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants