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
{{ message }}
Repository navigation
Add MissingIndicator convenience into SimpleImputer #12294
Following up on #8075 I think we should have a convenience option to add MissingIndicator to SimpleImputer without having to build a FeatureUnion or ColumnTransformer.
To have full control over the missing indicators, features and error_on_new would need to be added to SimpleImputer. Would this create too much bloat to the SimpleImputer API?
To have full control over the missing indicators, features and error_on_new would need to be added to SimpleImputer. Would this create too much bloat to the SimpleImputer API?
We could consider allowing append_indicators=[feature1, feature2] but I think that's excessive for an initial implementation.
Activity
jnothman commentedon Oct 5, 2018
Such as an
append_indicatorsparameter?amueller commentedon Oct 5, 2018
@jnothman yes, that's what I was thinking. Do you agree?
jnothman commentedon Oct 6, 2018
thomasjpfan commentedon Nov 2, 2018
To have full control over the missing indicators,
featuresanderror_on_newwould need to be added toSimpleImputer. Would this create too much bloat to theSimpleImputerAPI?jnothman commentedon Nov 5, 2018
We could consider allowing
append_indicators=[feature1, feature2]but I think that's excessive for an initial implementation.jeremiedbb commentedon Dec 18, 2018
There's already #12583
jnothman commentedon Dec 18, 2018
It is a duplicate.