This is k-nearest neighbors with k-fold cross validation