5 unstable releases
Uses old Rust 2015
0.3.1 | Apr 6, 2023 |
---|---|
0.3.0 | Apr 4, 2023 |
0.2.0 | Sep 21, 2018 |
0.1.1 | Sep 13, 2018 |
0.1.0 | Sep 13, 2018 |
#1191 in Database interfaces
546 downloads per month
11KB
204 lines
dbscan
Dependency free implementation of DBSCAN clustering in Rust, generic over the numeric types from Rust's stdlib.
lib.rs
:
A Density-Based Algorithm for Discovering Clusters
This algorithm finds all points within eps
distance of each other and
attempts to cluster them. If there are at least mpt
points reachable
(within distance eps
) from a given point P, then all reachable points are
clustered together. The algorithm then attempts to expand the cluster,
finding all border points reachable from each point in the cluster
See Ester, Martin, et al. "A density-based algorithm for discovering clusters in large spatial databases with noise." Kdd. Vol. 96. No. 34. 1996.
for the original paper
Thanks to the rusty_machine implementation for inspiration