The book#

Cover of Graph-Based Clustering and Data Visualization in Python

Graph-Based Clustering and Data Visualization in Python: The graphclust toolbox (Ágnes Vathy-Fogarassy, János Abonyi) is the companion book of the package. It develops every method in one notation, keeps theory and experiments apart, and illustrates each method with the scripts of the example gallery. It is a new text based on the authors’ 2013 monograph, extended with the developments since then, and is published under the CC BY 4.0 license.

Read it online, with a link to Google Colab next to every figure computed by an example script, or download the PDF or the EPUB. All editions are generated from the same LaTeX source.

Contents#

  1. Graphs as a language for data: the pipeline, what changed since 2013, notation, a first example

  2. Graphs from data: kNN, ε, MST, RNG, Gabriel and Delaunay graphs, shared neighbors, geodesic distances

  3. Vector quantization and topology learning: k-means, LBG, neural gas, TRN, GNG, GWR, DTRN, WINN

  4. Clustering with spanning trees: Zahn’s criteria, validity, hybrid MST–Gath–Geva, HDBSCAN*, DBCV

  5. Shared neighbors, densities, and communities: Jarvis–Patrick, fuzzy neighborhood similarity, SNN, density peaks, spectral clustering, Louvain and Leiden

  6. Visual assessment and the quality of maps: VAT, iVAT, stress, trustworthiness, continuity, co-ranking

  7. Distance- and neighborhood-preserving maps: PCA, MDS, Sammon, LPP, SOM, incremental grid growing

  8. Topology-preserving maps: Isomap, Isotop, CCA/CDA, OVI-NG, GNLP-NG, TRNMap

  9. Neighbor-graph embeddings: Laplacian eigenmaps, diffusion maps, t-SNE, UMAP

  10. Comparative studies and practical guidance

Appendices: API reference, migration from the MATLAB toolbox, catalog of the example scripts.