You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given that I have a SimpleImputer inside my Pipeline, I think the error I am getting is quite odd, since my data will not have any NaNs when fitting is actually done. Is this perhaps a bug or am I missing something about the way RFECV works?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, everyone!
I am trying to do a Recursive Feature Elimination procedure using
RFECV
. My model is aPipeline
of the form:When I try to fit a
RFECV
with thisPipeline
, however, I get the following error:My code is as follows:
Given that I have a
SimpleImputer
inside myPipeline
, I think the error I am getting is quite odd, since my data will not have anyNaN
s when fitting is actually done. Is this perhaps a bug or am I missing something about the wayRFECV
works?Beta Was this translation helpful? Give feedback.
All reactions