pub fn create_clusters<'a, T, IS, FN, IR>(
points: IS,
min_points: usize,
neighborhood_fn: FN,
) -> Vec<Cluster<'a, T>> ⓘ
Expand description
Creates clusters of points using DBSCAN (Density-Based Spatial Clustering of Applications with Noise).
points
: A list of points to cluster.
min_points
: The minimum number of points required to form a cluster.
neighborhood_fn
: A function which returns neighbors of given point. It should return point itself.