CMD + K

r-rann

Community

Finds the k nearest neighbours for every point in a given dataset in O(N log N) time using Arya and Mount's ANN library (v1.1.3). There is support for approximate as well as exact searches, fixed radius searches and 'bd' as well as 'kd' trees. The distance is computed using the L2 (Euclidean) metric. Please see package 'RANN.L1' for the same functionality using the L1 (Manhattan, taxicab) metric.

Installation

To install this package, run one of the following:

Conda
$conda install conda-forge::r-rann

Usage Tracking

2.6.2
2.6.1
2.6
2.5.1
4 / 8 versions selected
Downloads (Last 6 months): 0

About

Summary

Finds the k nearest neighbours for every point in a given dataset in O(N log N) time using Arya and Mount's ANN library (v1.1.3). There is support for approximate as well as exact searches, fixed radius searches and 'bd' as well as 'kd' trees. The distance is computed using the L2 (Euclidean) metric. Please see package 'RANN.L1' for the same functionality using the L1 (Manhattan, taxicab) metric.

Last Updated

Aug 25, 2024 at 20:02

License

GPL-3.0-or-later

Supported Platforms

macOS-arm64
win-64
macOS-64
linux-aarch64
linux-ppc64le
linux-64