cannot import name imputer from sklearn.preprocessing

152

cannot import name 'imputer' from 'sklearn.preprocessing' -

from sklearn.impute import SimpleImputer
imputer = SimpleImputer(missing_values=np.nan, strategy='mean')

cannot import name 'imputer' -

from sklearn.impute import SimpleImputer 
imputer = SimpleImputer(missing_values=np.nan, strategy='mean')

Comments

Submit
0 Comments