fuzzyclust.ensemble#
Fuzzy cluster ensembles and consensus clustering.
Instead of trusting one run of an alternating-optimization clusterer, fit a library of soft partitions (random starts, sub-samples, feature subsets, several numbers of clusters) and combine them.
FuzzyClusterEnsemble– library generation, soft co-association matrix and consensus by fuzzy c-means on the co-associations, spectral partitioning, evidence accumulation, the soft meta-clustering algorithm (sMCLA) or information-theoretic k-means (Punera and Ghosh, 2008; Fred and Jain, 2005);coassociation_matrix(),evidence_accumulation(),soft_mcla(),information_theoretic_kmeans()– the building blocks;cspa(),mcla()– the classical hard consensus functions of Strehl and Ghosh (2002);stability_curve()– reproducibility of the consensus against the library size;make_overlapping_blobs()– data generator;plot_coassociation(),plot_lifetimes()– matplotlib helpers.
Soft consensus clustering and evidence accumulation.
Classes#
|
Consensus of a library of soft clusterings (Punera and Ghosh, 2008). |
Functions#
|
Soft co-association (similarity) matrix of a library of fuzzy partitions. |
|
Evidence accumulation clustering of a co-association matrix (Fred and Jain, 2005). |
|
Soft meta-clustering algorithm, sMCLA (Punera and Ghosh, 2008). |
|
Information-theoretic k-means consensus, ITK (Punera and Ghosh, 2008). |
|
Cluster-based similarity partitioning, CSPA (Strehl and Ghosh, 2002), for hard partitions. |
|
Meta-clustering algorithm, MCLA (Strehl and Ghosh, 2002), for hard partitions. |
|
Reproducibility of the consensus partition as the library grows. |
|
Gaussian groups that overlap enough for single clustering runs to disagree. |
|
Heat map of a co-association matrix with the samples reordered by (consensus) label. |
|
Bar chart of the lifetime of every number of clusters in the co-association dendrogram. |