abd-clam 0.25.5

Clustering, Learning and Approximation with Manifolds
Documentation
//! Provides the `Cluster` struct, which is used to store the cluster data.
//!
//! It also provides the `Tree` struct, which is used to store a tree of clusters
//! and is meant to be public.
//!
//! It also provides the `PartitionCriteria` trait, and implementations for
//! `PartitionCriteria` for `MaxDepth` and `MinCardinality` which are used to
//! determine when to stop partitioning the tree.
mod _cluster;
mod criteria;
mod tree;

#[allow(clippy::module_name_repetitions)]
pub use _cluster::Cluster;
pub use criteria::{PartitionCriteria, PartitionCriterion};
pub use tree::Tree;

/// An array of 6 floats representing the parent to child ratios of cardinality, lfd, and radius,
/// as well as the exponential moving average of each value
pub type Ratios = [f64; 6];