-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
add_indicator switch in imputers #11886
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
Comments
This allows downstream models to adjust for the fact that a value was imputed, rather than observed. |
Can I take this up if no one else is working on it yet @jnothman ? |
Go for it |
@prathusha94 are you still working on this? |
I've realised that if we add a parameter |
@sergeyf points out that for IterativeImputer, stacking an indicator before passing X in will lead the estimator to learn bad imputation functions, so... maybe that's not such a good idea. |
For whatever imputers we have, but especially SimpleImputer, we should have an
add_indicator
parameter, which simply stacks a MissingIndicator transform onto the output of the imputer'stransform
.The text was updated successfully, but these errors were encountered: