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

Use different estimator for different features in IterativeImputer #14253

Open
jnothman opened this issue Jul 4, 2019 · 4 comments
Open

Use different estimator for different features in IterativeImputer #14253

jnothman opened this issue Jul 4, 2019 · 4 comments
Labels
Hard Hard level of difficulty help wanted module:impute

Comments

@jnothman
Copy link
Member

jnothman commented Jul 4, 2019

An idealised IterativeImputer would allow some features to be predicted as categorical variables (with a classifier) and others to be predicted as continuous variables (with a regressor) or even other specific distributions.

We could consider an interface to IterativeImputer that would allow users to specify the estimator used for a particular column selector, much like ColumnTransformer does with transformers.

On the other hand we may decide that this adds rarely needed power with excessive complexity.

@amueller
Copy link
Member

A mixture of categorical and continuous features seems not that rare but handling categorical missing values with adding a new category might be enough for most cases?

@yacth
Copy link

yacth commented Oct 12, 2020

Hi @jnothman can I work on this issue ?

@jnothman
Copy link
Member Author

It's fairly complicated, @yacth, and not at all ensured to be merged.

@vkhodygo
Copy link

Any progress in this direction? As more and more people start working with data nowadays, imputing missing values properly is a must, and this part of scikit is a bit lacking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hard Hard level of difficulty help wanted module:impute
Projects
None yet
Development

No branches or pull requests

5 participants