Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

knn imputation in r

require(imputation)
x = matrix(rnorm(100),10,10)
x[x>1] = NA
kNNImpute(x, 3)
x
Source by stats.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #knn #imputation
ADD COMMENT
Topic
Name
3+8 =