Notebook examples

These examples are rendered from the Jupyter notebooks in examples/notebooks. They are published as regular documentation pages so they can be searched, linked, and read without opening Jupyter.

Choose a notebook

Additional tutorial notebooks

The notebook source tree also includes companion material for Community Detection with the Map Equation and Infomap: Theory and Applications:

  • the two-level map equation;

  • the two-level search phase and solution landscapes;

  • memory, multilayer, temporal, and multi-body network models;

  • networks with metadata, bipartite structure, and incomplete data;

  • map equation centrality, similarity, bioregions, and model selection with correlational data.

Those source notebooks are available in examples/notebooks. Some require external research code or additional data-processing packages and are not rendered in this first docs set.

Run locally

From an Infomap source checkout:

python -m pip install -e '.[notebooks]'
cd examples/notebooks
jupyter lab

Source notebooks