R/utils.R
NNHelper.Rd
Internal helper function to dispatch to various neighbor finding methods
NNHelper(data, query = data, k, method, ...)
Input data
Data to query against data
Number of nearest neighbors to compute
"rann", "sklearn"
Other args pass nn2()
or sknn()
.