Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas knn imputer

imputer_KNN = KNNImputer(n_neighbors=2, weights="uniform")
pd.DataFrame(imputer_KNN.fit_transform(X))
Source by radiant-brushlands-42789.herokuapp.com #
 
PREVIOUS NEXT
Tagged: #pandas #knn #imputer
ADD COMMENT
Topic
Name
4+4 =