I am writing a very basic program to predict missing values in a dataset using scikit-learn\'s Imputer class.
I have made a NumPy array, created an Imp
Per the documentation, sklearn.preprocessing.Imputer.fit_transform returns a new array, it doesn't alter the argument array. The minimal fix is therefore:
sklearn.preprocessing.Imputer.fit_transform
X = imp.fit_transform(X)