Skip to main content

Crate clump

Crate clump 

Source
Expand description

Dense clustering primitives.

clump is a small, backend-agnostic library of clustering algorithms for dense vectors.

The primary public API is under cluster, which provides:

  • k-means (k-means++ seeding, Lloyd iterations)
  • DBSCAN (density clustering, with optional noise labeling)

Re-exports§

pub use cluster::ClusterHierarchy;
pub use cluster::ClusterLayer;
pub use cluster::ClusterNode;
pub use cluster::Clustering;
pub use cluster::CosineDistance;
pub use cluster::Dbscan;
pub use cluster::DbscanExt;
pub use cluster::DistanceMetric;
pub use cluster::EVoC;
pub use cluster::EVoCParams;
pub use cluster::Euclidean;
pub use cluster::Hdbscan;
pub use cluster::InnerProductDistance;
pub use cluster::Kmeans;
pub use cluster::KmeansFit;
pub use cluster::SquaredEuclidean;
pub use cluster::NOISE;
pub use error::Error;
pub use error::Result;

Modules§

cluster
Clustering algorithms for grouping similar items.
error