Function kodama::nnchain

source ·
pub fn nnchain<T: Float>(
    dis: &mut [T],
    observations: usize,
    method: MethodChain
) -> Dendrogram<T>
Expand description

Perform hierarchical clustering using the “nearest neighbor chain” algorithm as described in Müllner’s paper.

In general, one should prefer to use linkage, since it tries to pick the fastest algorithm depending on the method supplied.