graphclust.cluster#
Graph-based clustering.
- Tree-based methods
MSTClustering(Zahn’s inconsistent edges),HybridMSTGG(Vathy-Fogarassy, Feil and Abonyi: hypervolume splitting plus Gath–Geva) andHDBSCANStar(Campello, Moulavi and Sander: hierarchy of the mutual reachability MST with cluster stability).- Neighborhood-based methods
JarvisPatrick,fuzzy_neighborhood_similarity()andFuzzyNeighborhoodClustering(Vathy-Fogarassy, Kiss and Abonyi),SharedNearestNeighborClustering(Ertöz, Steinbach and Kumar) andDensityPeaks(Rodriguez and Laio).- Global graph methods
SpectralGraphClustering(normalized cuts with self-tuning affinities) andGraphCommunityClustering(modularity communities of a neighborhood graph: Louvain, Leiden, label propagation).
Every estimator follows scikit-learn: fit(X) sets labels_ (-1 marks
noise where the method has such a notion) and fit_predict is available.
MST, hybrid MST-Gath-Geva, HDBSCAN*, Jarvis-Patrick, fuzzy neighborhood similarity, SNN, density peaks, spectral and community clustering.
Classes#
|
Clustering by fast search and find of density peaks (Rodriguez and Laio 2014). |
|
Hierarchical clustering on the fuzzy neighborhood distance \(d_{ij}=1-s_{ij}\). |
|
Community detection on a neighborhood graph (PhenoGraph-style pipeline). |
|
HDBSCAN* (Campello, Moulavi and Sander 2013; 2015): density clustering from a spanning tree. |
|
Hybrid minimal spanning tree -- Gath--Geva clustering (Vathy-Fogarassy, Feil and Abonyi 2005). |
|
Jarvis--Patrick shared nearest neighbor clustering (1973). |
|
Minimal spanning tree clustering with Zahn's inconsistent-edge criteria. |
|
Shared nearest neighbor density clustering (SNN; Ertöz, Steinbach and Kumar 2003). |
|
Normalized spectral clustering (Ng, Jordan and Weiss 2002) on a neighborhood graph. |
Functions#
|
Transitive fuzzy neighborhood similarity (Vathy-Fogarassy, Kiss and Abonyi 2007). |
|
kNN graph re-weighted by the Jaccard index of the neighbor sets (PhenoGraph-style, Levine et al. 2015). |