Expand description
Graph Sampling Algorithms
This module provides a comprehensive suite of graph sampling methods including:
- Random walks: Uniform random walk, Node2Vec biased random walk
- Graph sampling: Frontier sampling, forest-fire sampling, snowball sampling
- Subgraph operations: Induced subgraph extraction
All algorithms operate on adjacency-list representations for efficiency.
§References
- Leskovec & Faloutsos (2006): Sampling from Large Graphs. KDD 2006.
- Grover & Leskovec (2016): node2vec: Scalable Feature Learning for Networks. KDD 2016.
- Stumpf et al. (2005): Subnets of scale-free networks are not scale-free. PNAS.
Functions§
- forest_
fire_ sampling - Forest-fire graph sampling.
- frontier_
sampling - Frontier-based graph sampling.
- induced_
subgraph - Extract the induced subgraph on a set of nodes.
- node2vec_
walk - Perform a Node2Vec biased random walk on a weighted graph.
- random_
walk - Perform a uniform random walk on an unweighted graph.
- snowball_
sampling - Snowball (BFS-neighbourhood) sampling.