Skip to contents

k-NN with Global Cross-Validation Finds a single optimal k for all observations

Usage

knn_gcv(dist_matrix, response, max_k)