-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
set force_all_finite=False for SelectFromModel.transform #11026
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
set force_all_finite=False for SelectFromModel.transform #11026
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please add a test.
Also, modify the PR description text to say something like Fixes #xxxx
. This way GitHub recognises the relationship between the PR and the issue it fixes.
@jnothman Thank you! I will do. |
ce85344
to
cde9b83
Compare
cde9b83
to
2642357
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should allow NaN in fitting too. Make est = make_pipeline(Imputer(), ...Classifier())
in the test
@jnothman Do you think it should be in the same test? |
Yes |
I found that |
some Imputer and some classifier. e.g. SimpleImputer and LogisticRegression
|
da02c6b
to
d61c94e
Compare
At least |
d61c94e
to
e209dfa
Compare
e209dfa
to
f628d5e
Compare
yes, that's why you'd pipeline it with |
Tests are failing @alexpantyukhin. Let us know if you need help working out why. |
Thanks for working on this issue. Closing since original issue was resolved by #11635 |
Fixes #10985