Skip to main content
Ctrl+K

graphclust

  • Installation
  • Example gallery
  • The book
  • API reference
  • Migrating from the MATLAB toolbox
    • Citing
    • Changelog
    • All books
  • GitHub
  • Installation
  • Example gallery
  • The book
  • API reference
  • Migrating from the MATLAB toolbox
  • Citing
  • Changelog
  • All books
  • GitHub

Section Navigation

  • Graphs from data
    • Proximity graphs and their nesting
    • Geodesic distances on a neighborhood graph
  • Vector quantization and topology learning
    • Neural gas learns the shape of the data
    • Topology representing networks
    • Growing networks: GNG, GWR, DTRN and WINN
    • Edge lifetime decides which links survive
  • Clustering with spanning trees
    • Zahn’s MST clustering and the chaining effect
    • Hybrid MST–Gath–Geva clustering cuts the chain
    • Volume-based splitting as initialization of Gaussian mixtures
    • Hybrid MST–GG on the Iris data
    • HDBSCAN*: density-corrected spanning trees
  • Clustering with shared neighbors and graph communities
    • Jarvis–Patrick clustering and its two integer parameters
    • Fuzzy neighborhood similarity: MDS, VAT and dendrogram
    • Fuzzy neighborhood distances on the Wine data
    • Shared-neighbor density and density peaks
    • Spectral clustering and graph communities
  • Visual assessment and map quality
    • VAT and iVAT images
    • Measuring the quality of a map
  • Distance- and neighborhood-based maps
    • PCA, Sammon mapping and MDS
    • LPP, the self-organizing map and incremental grid growing
  • Topology-preserving maps
    • Isomap, Isotop and curvilinear distance analysis
    • OVI-NG, GNLP-NG and TRNMap
    • TRNMap component planes
    • Number of nodes in TRNMap and the mapping quality
  • Neighbor-graph embeddings
    • Laplacian eigenmaps and diffusion maps
    • UMAP and t-SNE on handwritten digits
  • Comparative case studies
    • Combining quantization, distance and mapping
    • Quantitative comparison of topology-based maps
    • Mapping real data: Wine and Wisconsin breast cancer
  • Example gallery

Example gallery#

Every example is a self-contained script that generates or loads its data, explains the idea of the method and shows the effect of its parameters. The same scripts are rendered here, downloadable as Jupyter notebooks, and quoted in the book; every computed figure of the book comes from one of them.

Graphs from data#

Proximity graphs (nearest neighbor graph, minimal spanning tree, relative neighborhood and Gabriel graphs, Delaunay triangulation), k-nearest-neighbor graphs and geodesic distances.

Proximity graphs and their nesting

Proximity graphs and their nesting

Geodesic distances on a neighborhood graph

Geodesic distances on a neighborhood graph

Vector quantization and topology learning#

Neural gas, topology representing networks and the growing networks (GNG, GWR, DTRN, WINN) that learn a graph of representatives.

Neural gas learns the shape of the data

Neural gas learns the shape of the data

Topology representing networks

Topology representing networks

Growing networks: GNG, GWR, DTRN and WINN

Growing networks: GNG, GWR, DTRN and WINN

Edge lifetime decides which links survive

Edge lifetime decides which links survive

Clustering with spanning trees#

Zahn’s MST clustering, the hybrid MST–Gath–Geva algorithm and HDBSCAN*.

Zahn’s MST clustering and the chaining effect

Zahn's MST clustering and the chaining effect

Hybrid MST–Gath–Geva clustering cuts the chain

Hybrid MST--Gath--Geva clustering cuts the chain

Volume-based splitting as initialization of Gaussian mixtures

Volume-based splitting as initialization of Gaussian mixtures

Hybrid MST–GG on the Iris data

Hybrid MST--GG on the Iris data

HDBSCAN*: density-corrected spanning trees

HDBSCAN*: density-corrected spanning trees

Clustering with shared neighbors and graph communities#

Jarvis–Patrick clustering, the fuzzy neighborhood similarity, SNN density clustering, density peaks, spectral clustering and modularity communities.

Jarvis–Patrick clustering and its two integer parameters

Jarvis--Patrick clustering and its two integer parameters

Fuzzy neighborhood similarity: MDS, VAT and dendrogram

Fuzzy neighborhood similarity: MDS, VAT and dendrogram

Fuzzy neighborhood distances on the Wine data

Fuzzy neighborhood distances on the Wine data

Shared-neighbor density and density peaks

Shared-neighbor density and density peaks

Spectral clustering and graph communities

Spectral clustering and graph communities

Visual assessment and map quality#

VAT and iVAT images, trustworthiness, continuity and the co-ranking framework.

VAT and iVAT images

VAT and iVAT images

Measuring the quality of a map

Measuring the quality of a map

Distance- and neighborhood-based maps#

PCA, Sammon mapping, metric and non-metric MDS, locality preserving projections, the self-organizing map and incremental grid growing.

PCA, Sammon mapping and MDS

PCA, Sammon mapping and MDS

LPP, the self-organizing map and incremental grid growing

LPP, the self-organizing map and incremental grid growing

Topology-preserving maps#

Isomap, Isotop, curvilinear component and distance analysis, OVI-NG, GNLP-NG and the topology representing network map (TRNMap).

Isomap, Isotop and curvilinear distance analysis

Isomap, Isotop and curvilinear distance analysis

OVI-NG, GNLP-NG and TRNMap

OVI-NG, GNLP-NG and TRNMap

TRNMap component planes

TRNMap component planes

Number of nodes in TRNMap and the mapping quality

Number of nodes in TRNMap and the mapping quality

Neighbor-graph embeddings#

Laplacian eigenmaps, diffusion maps, t-SNE and UMAP.

Laplacian eigenmaps and diffusion maps

Laplacian eigenmaps and diffusion maps

UMAP and t-SNE on handwritten digits

UMAP and t-SNE on handwritten digits

Comparative case studies#

Combinations of quantization, distance and mapping, and a quantitative comparison of the mappings on manifold and real data.

Combining quantization, distance and mapping

Combining quantization, distance and mapping

Quantitative comparison of topology-based maps

Quantitative comparison of topology-based maps

Mapping real data: Wine and Wisconsin breast cancer

Mapping real data: Wine and Wisconsin breast cancer

Download all examples in Python source code: auto_examples_python.zip

Download all examples in Jupyter notebooks: auto_examples_jupyter.zip

Gallery generated by Sphinx-Gallery

previous

Installation

next

Graphs from data

On this page
  • Graphs from data
  • Vector quantization and topology learning
  • Clustering with spanning trees
  • Clustering with shared neighbors and graph communities
  • Visual assessment and map quality
  • Distance- and neighborhood-based maps
  • Topology-preserving maps
  • Neighbor-graph embeddings
  • Comparative case studies
Show Source

© Copyright 2026, Ágnes Vathy-Fogarassy, János Abonyi.

Created using Sphinx 9.1.1.