Skip to content

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 most of the kernel_approximation estimators. The remaining one is in #22137

Any other comments?

The test_transformers_get_feature_names_out common tests will run on these estimators because they define get_feature_names_out:

def _include_in_get_feature_names_out_check(transformer):
if hasattr(transformer, "get_feature_names_out"):
return True

@thomasjpfan thomasjpfan added this to the 1.1 milestone Mar 4, 2022
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!

@ogrisel ogrisel added the Quick Review For PRs that are quick to review label Mar 7, 2022
@jeremiedbb jeremiedbb merged commit d616e43 into scikit-learn:main Mar 8, 2022
@jeremiedbb
Copy link
Member

Thanks @thomasjpfan

thomasjpfan added a commit to thomasjpfan/scikit-learn that referenced this pull request Mar 8, 2022
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
Quick Review For PRs that are quick to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants