An internal function to use the LSH and KD-tree algorithm via the mlpack package.
Source:R/method_mlpack.R
method_mlpack.Rd
See details of mlpack::lsh and mlpack::knn
Usage
method_mlpack(x, y, algo = c("lsh", "kd"), k, verbose, seed, path, control)
Arguments
- x
deduplication or reference data,
- y
query data,
- algo
which algorithm should be used:
lsh
orkd
,- k
number of neighbours to return,
- verbose
if TRUE, log messages to the console,
- seed
seed for the pseudo-random numbers algorithm,
- path
path to write the index,
- control
controls for the
lsh
orkd
algorithms.