powered by
kNN_LOOCV(X, y, kmax=ceiling(length(y)*0.5), plot=FALSE)
Xy <- rmix(300) #training data kNN_LOOCV(Xy[,1:2], Xy[,3], plot=FALSE)
Run the code above in your browser using DataLab