← Series by topic

Graphs in Theory and Practice

Explore graph representations, traversal, flows, Laplacians, diffusion, graph neural networks, and recommendation in 36 articles.

Prerequisites Basic matrices, eigenvalues, probability, and Python.

  1. [Graph Theory] Defining graphs: directed, undirected, and weighted graphs

    Define directed, undirected, and weighted graphs, then use Python to compare degrees, paths, and adjacency matrices, including loops and zero weights.

  2. [Graph Theory] Adjacency, degree, and incidence matrices: theory and implementation

    Build adjacency, degree, and incidence matrices in Python. Derive their relationships and check directed edges, weights, ordering, and self-loops.

  3. [Graph Theory] Sparse matrices for large graphs and their computational cost

    Explore COO, CSR, and CSC storage, derive memory and multiplication costs, and test a 100,000-vertex graph and the growth of nonzeros in matrix products.