Skip to contents

k-NN with Local Cross-Validation Finds an optimal k for each observation

Usage

knn_lcv(dist_matrix, response, max_k)