subrela.clustering module

Tools for agglomerative hierarchical clustering.

Functions

get_clusters(X[, metric, method, …])

Perform an agglomerative hierarchical clustering of features.

get_groups(Z, threshold)

Define groups by a distance threshold.

get_subgroups(Z, group)

List subgroups.