An Accurate kNN Implementation with Multiple Distance Measures

Similarly to the 'FNN' package, this package allows calculation of the k nearest neighbors (kNN) of a data matrix. The implementation is based on cover trees introduced by Alina Beygelzimer, Sham Kakade, and John Langford (2006) .


News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("knn.covertree")

1.0 by Philipp Angerer, 20 days ago


https://github.com/flying-sheep/knn.covertree


Report a bug at https://github.com/flying-sheep/knn.covertree/issues


Browse source code at https://github.com/cran/knn.covertree


Authors: Philipp Angerer [cre, aut] , David Crane [cph, aut]


Documentation:   PDF Manual  


AGPL-3 license


Imports Rcpp, RcppEigen, Matrix, methods

Suggests testthat, FNN

Linking to Rcpp, RcppEigen

System requirements: C++11


See at CRAN