Open rhiever opened 5 years ago
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.
Agreed. It is time for future updates of TPOT to drop support for Python 2.
As of sklearn v0.21.2 (possibly earlier), the
Imputer
has moved to theimpute
module and is now called theSimpleImputer
: https://scikit-learn.org/stable/modules/generated/sklearn.impute.SimpleImputer.htmlTPOT 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.