| Crates.io | linfa-nn |
| lib.rs | linfa-nn |
| version | 0.7.2 |
| created_at | 2021-10-21 14:22:49.846235+00 |
| updated_at | 2025-07-09 07:30:32.798134+00 |
| description | A collection of nearest neighbour algorithms |
| homepage | |
| repository | https://github.com/rust-ml/linfa/ |
| max_upload_size | |
| id | 468474 |
| size | 87,019 |
linfa-nn provides a pure Rust implementation of nearest neighbor algorithms.
linfa-nn is a crate in the linfa ecosystem, an effort to create a toolkit for classical Machine Learning implemented in pure Rust, akin to Python's scikit-learn.
Nearest neighbor search (NNS), as a form of proximity search, is the optimization problem of finding the point in a given set that is closest (or most similar) to a given point. Closeness is typically expressed in terms of a dissimilarity function: the less similar the objects, the larger the function values.
linfa-nn currently provides the following implementations: - linear - balltree - KDTree
Dual-licensed to be compatible with the Rust project.
Licensed under the Apache License, Version 2.0 http://www.apache.org/licenses/LICENSE-2.0 or the MIT license http://opensource.org/licenses/MIT, at your option. This file may not be copied, modified, or distributed except according to those terms.