linfa-nn is a pure Rust implementation of nearest neighbor algorithms within the linfa machine learning ecosystem. It is used for proximity search: finding the point in a set that is closest or most similar to a query point based on a dissimilarity function.
Currently, linfa-nn supports the following search implementations:
linear: A brute-force linear search.balltree: A Ball Tree implementation for efficient spatial queries.KDTree: A K-Dimensional Tree implementation for efficient spatial queries.