graphclust.fuzzy#

Gath–Geva fuzzy maximum likelihood clustering, used to give MST clusters a Gaussian description.

The implementation follows the conventions of the companion package fuzzyclust (same symbols, memberships stored as an (n_samples, n_clusters) matrix) but is self-contained, so that graphclust has no dependency on it.

Fuzzy maximum likelihood clustering used by the hybrid MST algorithm.

Classes#

GathGeva([n_clusters, m, tol, max_iter, ...])

Gath--Geva (fuzzy maximum likelihood estimates) clustering.

Functions#

fuzzy_covariances(X, U[, m])

Centers \(\mathbf{v}_i\) and fuzzy covariance matrices

fuzzy_hypervolume(X, U[, m, per_cluster])

Fuzzy hypervolume \(\mathrm{FHV}=\sum_i\sqrt{\det\mathbf{F}_i}\) (Gath and Geva 1989); smaller is better.

labels_to_membership(labels[, n_clusters])

Crisp labels to a 0/1 membership matrix of shape (n_samples, n_clusters).