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

Fix for sklearn-pandas-out and refit #438

Merged
merged 3 commits into from
Apr 9, 2024

Conversation

bmreiniger
Copy link
Contributor

Fixes #437

Proposed Changes

Resets feature_names_out_ before applying transform (in case the latter uses the former, as when sklearn is set to pandas-output).

@bmreiniger
Copy link
Contributor Author

py3.7 fails because I guess the version of sklearn that adds pandas-output doesn't support 3.7? I could decorate the test to skip it in 3.7, but am open to better fixes.

@bmreiniger bmreiniger changed the title Add test for sklearn-pandas-out and refit Fix for sklearn-pandas-out and refit Apr 5, 2024
@PaulWestenthanner
Copy link
Collaborator

great work Ben. Thanks for fixing this!

@PaulWestenthanner PaulWestenthanner merged commit 11fbba6 into scikit-learn-contrib:master Apr 9, 2024
5 checks passed
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.

Combining with set_output can produce errors
2 participants