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

sklearn's Imputer has been renamed & moved #889

Open
rhiever opened this issue Jul 11, 2019 · 2 comments

Comments

Projects
None yet
2 participants
@rhiever
Copy link
Collaborator

commented Jul 11, 2019

As of sklearn v0.21.2 (possibly earlier), the Imputer has moved to the impute module and is now called the SimpleImputer: https://scikit-learn.org/stable/modules/generated/sklearn.impute.SimpleImputer.html

TPOT likely needs a quick update to update this reference when we perform imputation at the beginning of every TPOT run.

Also worth noting that the impute module offers several different imputation methods now, so perhaps it's worthwhile to move the imputation step into the configuration dictionary.

We can probably address #836 while making this change.

@weixuanfu

This comment has been minimized.

Copy link
Member

commented Jul 12, 2019

I agree with this update. Also, for addressing this and also supporting future version of sklearn (> 0.22), TPOT should not support Python 2 any more.

@rhiever

This comment has been minimized.

Copy link
Collaborator Author

commented Jul 12, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.