An internal function to use the NN descent algorithm via the rnndescent package.
Source:R/method_nnd.R
method_nnd.Rd
See details of rnndescent::rnnd_build and rnndescent::rnnd_query.
Arguments
- x
deduplication or reference data,
- y
query data,
- k
number of neighbours to return,
- distance
type of distance to calculate,
- deduplication
whether the deduplication is applied,
- verbose
if TRUE, log messages to the console,
- n_threads
maximum number of threads to use,
- control
controls for the NN descent algorithm.