Answers for "sciket learn imputer code"

1

sciket learn imputer code

from sklearn.preprocessing import Imputerimputer = Imputer(missing_values = 'NaN', strategy = 'mean', axis = 0)imputer = imputer.fit(X[:, 1:3])X[:, 1:3] = imputer.transform(X[:, 1:3])
Posted by: Guest on May-27-2020

Python Answers by Framework

Browse Popular Code Answers by Language