Categorical Encoder In Scikit Learn Preprocessing
I was trying to import Categorical Encoder in sklearn from sklearn.preprocessing import CategoricalEncoder But I get the error ImportError: cannot import name 'CategoricalEncoder'
Solution 1:
CategoricalEncoder is only available in the development version 0.20.dev0. Use OneHotEncoder and OrdinalEncoder insted.(see #10521)
Post a Comment for "Categorical Encoder In Scikit Learn Preprocessing"