Skip to content

FIX - Implementing the default get_feature_names_out method - #1666

Merged
GaelVaroquaux merged 14 commits into
skrub-data:mainfrom
rcap107:fix-get_feature_names_out
Oct 29, 2025
Merged

GaelVaroquaux merged 14 commits into
skrub-data:mainfrom
rcap107:fix-get_feature_names_out

Conversation

@rcap107

@rcap107 rcap107 commented Oct 9, 2025

Copy link
Copy Markdown
Member

This PR adds a default get_feature_names_out method to SingleColumnTransformer. The default method returns the value of self.all_outputs_. I added all_outputs_ to all public skrub transformers according to their specific use.

To do: adding a proper test that checks that all new estimators have get_feature_names_out.

@rcap107 rcap107 linked an issue Oct 9, 2025 that may be closed by this pull request
@rcap107
rcap107 marked this pull request as ready for review October 17, 2025 12:47
@rcap107 rcap107 added this to the 0.7.0 milestone Oct 20, 2025
@auguste-probabl

Copy link
Copy Markdown
Contributor

Nice!

@GaelVaroquaux GaelVaroquaux 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.

Great!!

All good to me, but needs a changelog entry, because this is actually a fairly important fix (we had so many issues with this)

@rcap107

rcap107 commented Oct 29, 2025

Copy link
Copy Markdown
Member Author

Great!!

All good to me, but needs a changelog entry, because this is actually a fairly important fix (we had so many issues with this)

There is already one, I've expanded it a bit

@GaelVaroquaux

Copy link
Copy Markdown
Member

I must apologize for not seeing it

@GaelVaroquaux
GaelVaroquaux merged commit 655f9a3 into skrub-data:main Oct 29, 2025
3 checks passed
@GaelVaroquaux

Copy link
Copy Markdown
Member

Merged, thanks!

@rcap107
rcap107 deleted the fix-get_feature_names_out branch October 29, 2025 20:12
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.

ToDatetime does not implement get_feature_names_out

3 participants