graphnetz.datasets¶
The catalogue: loader functions organised by research category and task type.
Every loader returns a PyTorch Geometric dataset, so anything in the catalogue
can be handed straight to run_benchmark.
Three different counts
The catalogue contains 62 loaders (57 without the optional ogb
extra); validate_loaders reports
how many currently load end to end; and a subset is promoted to
curated benchmark tasks in
BENCHMARK_TASKS. See
Dataset taxonomy.
Registry¶
datasets
¶
Dataset registry, organized by research category and task.
Each category exposes thin loader functions that return a torch_geometric
dataset (PyG built-in or Netz). The
LOADER_REGISTRY table maps every loader to its category and the task it can serve, mirroring the structure used by
BENCHMARK_TASKS ([category][task_type] -> [...]).
Categories
combinatorial: synthetic TSP, VRP, max-cut, max-flow, matching, coloring.biology: MUTAG, PROTEINS, ENZYMES, PPI, Peptides (LRGB), C. elegans, connectomes, contact networks.social: Cora, CiteSeer, PubMed, WikiCS, Heterophilous (Roman-empire, Amazon-ratings, Minesweeper, Tolokers, Questions), Karate, ego networks.knowledge: FB15k-237, WordNet18-RR, Netz WordNet.infrastructure: power grids, road and air networks.finance: product space, board interlocks, patents, Elliptic Bitcoin.computing: AS topology, Skitter, BGP route views.vision: MNIST/CIFAR10 superpixel graphs, ModelNet.physics: QM9, ZINC, Ising lattice.security: terrorist association networks, MalNet-Tiny.
Tasks
node_cls, graph_cls, graph_reg, link_pred. A loader may
serve more than one task type (e.g. cora is used for both node_cls and
link_pred). Deep Graph Infomax is not a task: it is a
self-supervised training objective whose metric is its own loss, so the
benchmark routes unlabelled graphs through link_pred (a real held-out
edge split with an AUC metric) instead. train_dgi and the
DGIWrapper adapter remain available as utilities for users who want
unsupervised pre-training on top of any encoder.
Functions:
| Name | Description |
|---|---|
list_datasets |
Return loader names organized by category and task. |
Attributes:
| Name | Type | Description |
|---|---|---|
LOADER_REGISTRY |
dict[str, dict[str, list[tuple[str, object]]]]
|
|
CATEGORIES |
Mapping of category name to the dataset module that implements it. |
LOADER_REGISTRY
module-attribute
¶
LOADER_REGISTRY: dict[str, dict[str, list[tuple[str, object]]]] = {
"combinatorial": {
"link_pred": [
("random_bipartite_matching", combinatorial.random_bipartite_matching),
("random_tsp", combinatorial.random_tsp),
("random_vrp", combinatorial.random_vrp),
("random_coloring", combinatorial.random_coloring),
("random_maxcut", combinatorial.random_maxcut),
("random_maxflow", combinatorial.random_maxflow),
]
},
"biology": {
"graph_cls": [
("mutag", biology.mutag),
("proteins", biology.proteins),
("enzymes", biology.enzymes),
("peptides_func", biology.peptides_func),
],
"graph_reg": [("peptides_struct", biology.peptides_struct)],
"link_pred": [
("celegans", biology.celegans),
("budapest_connectome", biology.budapest_connectome),
("hospital_contacts", biology.hospital_contacts),
("high_school_contacts", biology.high_school_contacts),
("ppi", biology.ppi),
],
},
"social": {
"node_cls": [
("cora", social.cora),
("citeseer", social.citeseer),
("pubmed", social.pubmed),
("wikics", social.wikics),
("roman_empire", social.roman_empire),
("amazon_ratings", social.amazon_ratings),
("minesweeper", social.minesweeper),
("tolokers", social.tolokers),
("questions", social.questions),
],
"link_pred": [
("cora", social.cora),
("citeseer", social.citeseer),
("pubmed", social.pubmed),
("movielens100k", social.movielens100k),
("karate", social.karate),
("facebook_friends", social.facebook_friends),
("dblp_coauthor", social.dblp_coauthor),
("dnc_emails", social.dnc_emails),
],
},
"knowledge": {
"link_pred": [
("fb15k_237", knowledge.fb15k_237),
("wordnet18rr", knowledge.wordnet18rr),
("wordnet_netz", knowledge.wordnet_netz),
]
},
"infrastructure": {
"link_pred": [
("power_grid", infrastructure.power_grid),
("euroroad", infrastructure.euroroad),
("us_roads", infrastructure.us_roads),
("eu_airlines", infrastructure.eu_airlines),
("london_transport", infrastructure.london_transport),
("urban_streets", infrastructure.urban_streets),
]
},
"finance": {
"node_cls": [("elliptic_bitcoin", finance.elliptic_bitcoin)],
"link_pred": [
("product_space", finance.product_space),
("board_directors", finance.board_directors),
("us_patents", finance.us_patents),
],
},
"computing": {
"link_pred": [
("internet_as", computing.internet_as),
("topology", computing.topology),
("as_skitter", computing.as_skitter),
("route_views", computing.route_views),
]
},
"vision": {
"graph_cls": [
("mnist_superpixels", vision.mnist_superpixels),
("cifar10_superpixels", vision.cifar10_superpixels),
("modelnet10", vision.modelnet10),
("modelnet40", vision.modelnet40),
]
},
"physics": {
"graph_reg": [("qm9", physics.qm9), ("zinc", physics.zinc)],
"link_pred": [("ising_lattice", physics.ising_lattice)],
},
"security": {
"graph_cls": [("malnet_tiny", security.malnet_tiny)],
"link_pred": [
("terrorists_911", security.terrorists_911),
("train_terrorists", security.train_terrorists),
],
},
}
CATEGORIES
module-attribute
¶
CATEGORIES = {
"combinatorial": combinatorial,
"biology": biology,
"social": social,
"knowledge": knowledge,
"infrastructure": infrastructure,
"finance": finance,
"computing": computing,
"vision": vision,
"physics": physics,
"security": security,
}
Mapping of category name to the dataset module that implements it.
list_datasets
¶
list_datasets(
category: str | None = None, task: str | None = None
) -> dict[str, dict[str, list[str]]]
Return loader names organized by category and task.
Output shape: {category: {task_type: [loader_name, ...]}}. Pass
category and/or task to restrict the view.
Source code in src/graphnetz/datasets/__init__.py
Auditing the catalogue¶
datasets
¶
Dataset registry, organized by research category and task.
Each category exposes thin loader functions that return a torch_geometric
dataset (PyG built-in or Netz). The
LOADER_REGISTRY table maps every loader to its category and the task it can serve, mirroring the structure used by
BENCHMARK_TASKS ([category][task_type] -> [...]).
Categories
combinatorial: synthetic TSP, VRP, max-cut, max-flow, matching, coloring.biology: MUTAG, PROTEINS, ENZYMES, PPI, Peptides (LRGB), C. elegans, connectomes, contact networks.social: Cora, CiteSeer, PubMed, WikiCS, Heterophilous (Roman-empire, Amazon-ratings, Minesweeper, Tolokers, Questions), Karate, ego networks.knowledge: FB15k-237, WordNet18-RR, Netz WordNet.infrastructure: power grids, road and air networks.finance: product space, board interlocks, patents, Elliptic Bitcoin.computing: AS topology, Skitter, BGP route views.vision: MNIST/CIFAR10 superpixel graphs, ModelNet.physics: QM9, ZINC, Ising lattice.security: terrorist association networks, MalNet-Tiny.
Tasks
node_cls, graph_cls, graph_reg, link_pred. A loader may
serve more than one task type (e.g. cora is used for both node_cls and
link_pred). Deep Graph Infomax is not a task: it is a
self-supervised training objective whose metric is its own loss, so the
benchmark routes unlabelled graphs through link_pred (a real held-out
edge split with an AUC metric) instead. train_dgi and the
DGIWrapper adapter remain available as utilities for users who want
unsupervised pre-training on top of any encoder.
Functions:
| Name | Description |
|---|---|
validate_loaders |
Instantiate every catalogued loader and report a status matrix. |
validate_loaders
¶
validate_loaders(
categories: Iterable[str] | None = None,
*,
root: str = "data/validate",
seed: int = 0,
allow_download: bool = True,
only_cached: bool = False,
skip: Iterable[str] | None = None,
max_seconds: float | None = None,
retries: int = 1,
on_row: Callable[[dict[str, Any]], None] | None = None,
) -> Any
Instantiate every catalogued loader and report a status matrix.
Returns a pandas.DataFrame with one row per (category, loader):
the task types it serves, its status, shape columns, elapsed seconds, and
the error text when it failed. One row per unique loader name within a
category -- a loader serving two task types is validated once and its
tasks column lists both.
only_cached=True skips loaders whose root directory does not already
exist, which is what a network-free CI job wants.
Auditing the whole catalogue downloads tens of gigabytes and can take hours,
so the walk is resumable: pass already-audited loader names in skip and a
wall-clock budget in max_seconds, and the call returns what it finished.
Accumulating several bounded calls yields the same matrix as one long one,
which is what makes the audit runnable in a constrained environment.
retries re-attempts a loader that failed to download, after clearing
whatever half-written archive the attempt left behind; a loader that failed
for any other reason is not retried, because the second attempt would fail
the same way. Retries respect max_seconds.
on_row is invoked with each row as soon as that loader finishes. Resuming
is only as good as what reached disk, so a caller that checkpoints here keeps
its progress when the walk is interrupted -- which, over a multi-hour
download, is the normal way for it to end.
Source code in src/graphnetz/datasets/_validate.py
221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 | |
Netzschleuder access¶
datasets
¶
Dataset registry, organized by research category and task.
Each category exposes thin loader functions that return a torch_geometric
dataset (PyG built-in or Netz). The
LOADER_REGISTRY table maps every loader to its category and the task it can serve, mirroring the structure used by
BENCHMARK_TASKS ([category][task_type] -> [...]).
Categories
combinatorial: synthetic TSP, VRP, max-cut, max-flow, matching, coloring.biology: MUTAG, PROTEINS, ENZYMES, PPI, Peptides (LRGB), C. elegans, connectomes, contact networks.social: Cora, CiteSeer, PubMed, WikiCS, Heterophilous (Roman-empire, Amazon-ratings, Minesweeper, Tolokers, Questions), Karate, ego networks.knowledge: FB15k-237, WordNet18-RR, Netz WordNet.infrastructure: power grids, road and air networks.finance: product space, board interlocks, patents, Elliptic Bitcoin.computing: AS topology, Skitter, BGP route views.vision: MNIST/CIFAR10 superpixel graphs, ModelNet.physics: QM9, ZINC, Ising lattice.security: terrorist association networks, MalNet-Tiny.
Tasks
node_cls, graph_cls, graph_reg, link_pred. A loader may
serve more than one task type (e.g. cora is used for both node_cls and
link_pred). Deep Graph Infomax is not a task: it is a
self-supervised training objective whose metric is its own loss, so the
benchmark routes unlabelled graphs through link_pred (a real held-out
edge split with an AUC metric) instead. train_dgi and the
DGIWrapper adapter remain available as utilities for users who want
unsupervised pre-training on top of any encoder.
Functions:
| Name | Description |
|---|---|
download_all_networks_netz |
Download and process every network in a Netzschleuder dataset. |
Netz
¶
Netz(
root: str,
dataset_name: str = "urban_streets",
network_name: str = "brasilia",
transform: Callable | None = None,
pre_transform: Callable | None = None,
multigraph: bool = False,
)
Bases: InMemoryDataset
Netzschleuder network dataset.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
root
|
str
|
Root directory where the dataset should be saved. |
required |
dataset_name
|
str
|
Name of the dataset from the Netzschleuder repository. |
'urban_streets'
|
network_name
|
str
|
Name of the network within the dataset. |
'brasilia'
|
transform
|
callable
|
Standard PyG transform hooks. |
None
|
pre_transform
|
callable
|
Standard PyG transform hooks. |
None
|
Examples:
>>> dataset = Netz(
... root="data", dataset_name="urban_streets", network_name="brasilia"
... )
>>> dataset[0]
Data(...)
References
Tiago P. Peixoto. (2020). The Netzschleuder network catalogue and repository. https://networks.skewed.de/
Source code in src/graphnetz/datasets/_netz.py
download_all_networks_netz
¶
download_all_networks_netz(
root: str,
dataset_name: str,
transform: Callable | None = None,
pre_transform: Callable | None = None,
) -> None
Download and process every network in a Netzschleuder dataset.
Source code in src/graphnetz/datasets/_netz.py
Per-category loaders¶
combinatorial
¶
Combinatorial-optimization graph datasets.
All instances are synthetic; canonical PyG benchmarks do not cover this category. The library provides:
RandomTSP/random_tsp— Euclidean TSP (k-NN over 2D points).RandomVRP/random_vrp— Capacitated VRP (multi-depot k-NN).RandomMaxFlow/random_maxflow— random capacitated networks with a single source/sink, suitable for max-flow / min-cut benchmarks.RandomBipartiteMatching/random_bipartite_matching— bipartite assignment instances with random weights.RandomColoring/random_coloring— random Erdos-Renyi graphs for graph-coloring / max-cut experiments.RandomMaxCut/random_maxcut— alias of RandomColoring.
RandomTSP
¶
Bases: InMemoryDataset
Euclidean TSP instances as k-NN graphs over 2D points.
Source code in src/graphnetz/datasets/combinatorial.py
RandomVRP
¶
RandomVRP(
root: str,
num_graphs: int = 128,
num_customers: int = 40,
num_depots: int = 3,
k: int = 6,
seed: int = 0,
)
Bases: InMemoryDataset
Capacitated VRP instances: customers + multiple depots, k-NN connectivity.
Node features are [x, y, demand, is_depot]. Demands are zero for depots
and uniform on (0, 1] for customers.
Source code in src/graphnetz/datasets/combinatorial.py
RandomMaxFlow
¶
RandomMaxFlow(
root: str,
num_graphs: int = 128,
num_nodes: int = 30,
edge_prob: float = 0.2,
seed: int = 0,
)
Bases: InMemoryDataset
Random capacitated networks with a marked source/sink for max-flow tasks.
Nodes 0 and num_nodes - 1 are designated source and sink. Edges carry
a positive capacity stored in edge_attr.
Source code in src/graphnetz/datasets/combinatorial.py
RandomBipartiteMatching
¶
RandomBipartiteMatching(
root: str,
num_graphs: int = 128,
size: int = 25,
edge_prob: float = 0.4,
seed: int = 0,
)
Bases: InMemoryDataset
Random bipartite assignment instances with weighted edges.
Two sides of size size are connected by a Bernoulli mask of probability
edge_prob; edge weights are uniform on (0, 1] and stored in
edge_attr. Node features mark each node's side.
Source code in src/graphnetz/datasets/combinatorial.py
biology
¶
Health and biology datasets.
Coverage:
- Molecular: PyG TUDataset (MUTAG, PROTEINS, ENZYMES).
- Long-range peptides: PyG
LRGBDataset(Peptides-func graph classification, Peptides-struct graph regression — Dwivedi et al., NeurIPS 2022 long-range graph benchmark). - Protein-protein interaction: PyG
PPI(inductive multi-graph). - Metabolic: Netzschleuder
celegans_metabolic. - Brain connectomes: Netzschleuder
budapest_connectome. - Epidemiology: Netzschleuder
sp_hospitalandsp_high_schoolcontact graphs. - Open Graph Benchmark (optional
ogbextra):ogbg_molhiv(~41 K molecules, binary HIV-inhibition),ogbg_molpcba(~438 K molecules, 128 binary bioassay tasks). Both also need thechemextra for RDKit featurisation.
Patient-disease-treatment knowledge graphs have no canonical free dataset and are intentionally omitted.
Functions:
| Name | Description |
|---|---|
mutag |
Mutagenicity: 188 molecules, binary class. |
proteins |
Proteins: 1113 graphs, binary class. |
enzymes |
Enzymes: 600 graphs, 6 classes. |
ppi |
Protein-protein interaction (inductive node multi-label classification). |
celegans |
C. elegans metabolic network (Netzschleuder). |
budapest_connectome |
Budapest reference connectome (mean connectivity across 100 subjects). |
hospital_contacts |
Sociopatterns hospital ward face-to-face contact network. |
high_school_contacts |
Sociopatterns high-school contact network. |
peptides_func |
Peptides-func: long-range graph classification (10-way multilabel). |
peptides_struct |
Peptides-struct: long-range graph regression (11 structural targets). |
ogbg_molhiv |
OGB MolHIV: ~41 K molecules, binary HIV-inhibition labels. |
ogbg_molpcba |
OGB MolPCBA: ~438 K molecules, 128 binary bioassay labels. |
ppi
¶
celegans
¶
budapest_connectome
¶
Budapest reference connectome (mean connectivity across 100 subjects).
hospital_contacts
¶
high_school_contacts
¶
Sociopatterns high-school contact network.
The dataset bundles four relations among the same students; proximity is
the face-to-face contact network, the others being reported diaries, a
friendship survey and Facebook ties.
Source code in src/graphnetz/datasets/biology.py
peptides_func
¶
Peptides-func: long-range graph classification (10-way multilabel).
peptides_struct
¶
Peptides-struct: long-range graph regression (11 structural targets).
ogbg_molhiv
¶
ogbg_molpcba
¶
social
¶
Social and information network datasets.
Coverage:
- Social:
karate,facebook_friends(Netzschleuder). - Citation/collaboration: Planetoid (Cora, CiteSeer, PubMed) + Netz
dblp_coauthor. - Web/hyperlink: PyG
WikiCS. - Heterophilic node classification: PyG
HeterophilousGraphDataset(Roman-empire, Amazon-ratings, Minesweeper, Tolokers, Questions) — the current SOTA stress test for GNNs whose accuracy collapses outside the homophilic Planetoid setting (Platonov et al., NeurIPS 2023). - Communication: Netz
dnc(Democratic National Committee email leak). - Recommendation: PyG
MovieLens100K. - Open Graph Benchmark (optional
ogbextra):ogbn_arxiv(arXiv citation network for node classification),ogbl_collab(collaboration network for link prediction).
Functions:
| Name | Description |
|---|---|
cora |
Cora citation network (2708 nodes, 7 classes). |
citeseer |
CiteSeer citation network (3327 nodes, 6 classes). |
pubmed |
PubMed citation network (19717 nodes, 3 classes). |
karate |
Zachary's karate club (the canonical small social network). |
facebook_friends |
Facebook ego friendship network (Netzschleuder). |
dblp_coauthor |
DBLP co-authorship network (Netzschleuder). |
wikics |
Wikipedia computer-science article hyperlink graph. |
dnc_emails |
DNC email communication network (Netzschleuder). |
movielens100k |
MovieLens 100K user-item bipartite ratings graph. |
roman_empire |
Roman-empire heterophilic node-classification benchmark. |
amazon_ratings |
Amazon-ratings heterophilic node-classification benchmark. |
minesweeper |
Minesweeper heterophilic node-classification benchmark. |
tolokers |
Tolokers heterophilic node-classification benchmark. |
questions |
Questions heterophilic node-classification benchmark. |
ogbn_arxiv |
OGB arXiv citation network (~169 K nodes, 40 subject classes). |
ogbl_collab |
OGB collaboration network (~235 K author nodes, 128-d features). |
karate
¶
Zachary's karate club (the canonical small social network).
facebook_friends
¶
dblp_coauthor
¶
dnc_emails
¶
amazon_ratings
¶
amazon_ratings(root: str) -> HeterophilousGraphDataset
Amazon-ratings heterophilic node-classification benchmark.
knowledge
¶
Knowledge graph and language datasets.
Wraps PyG knowledge-graph benchmarks for relational link prediction.
Functions:
| Name | Description |
|---|---|
fb15k_237 |
FB15k-237 relational link prediction benchmark. |
wordnet18rr |
WordNet18-RR relational link prediction benchmark. |
wordnet_netz |
WordNet semantic graph (Netzschleuder). |
infrastructure
¶
Infrastructure and physical-system networks (Netzschleuder).
Functions:
| Name | Description |
|---|---|
power_grid |
US Western power grid. |
euroroad |
European road network. |
us_roads |
US road network for a given state (e.g. |
eu_airlines |
European airline route multiplex. |
london_transport |
London transport multiplex (rail + bus + underground). |
urban_streets |
Urban street network for a given city (e.g. |
finance
¶
Finance and economics networks.
Coverage:
- Trade:
product_space(economic complexity). - Ownership / corporate control:
board_directors(Norwegian boards). - Innovation:
us_patentscitation network. - Transactions / fraud / AML: PyG
EllipticBitcoinDataset(illicit-wallet detection on Bitcoin transactions). - Open Graph Benchmark (optional
ogbextra):ogbn_products(Amazon co-purchase graph for node classification, ~2.4 M nodes, 47 product categories).
Inter-bank exposure datasets are typically confidential and have no canonical public benchmark.
Functions:
| Name | Description |
|---|---|
product_space |
Product space of international trade (economic complexity). |
board_directors |
Norwegian boards of directors interlock network (snapshot). |
us_patents |
US patents citation network. |
elliptic_bitcoin |
Elliptic Bitcoin transactions dataset for illicit-wallet detection. |
ogbn_products |
OGB Amazon product co-purchase network (~2.4 M nodes, 47 classes). |
product_space
¶
Product space of international trade (economic complexity).
Netzschleuder publishes this dataset as two networks rather than one:
SITC (Standard International Trade Classification, 774 products) and
HS (Harmonized System, 866 products). SITC is the default because
it is the classification used by the original product-space analysis.
Source code in src/graphnetz/datasets/finance.py
board_directors
¶
Norwegian boards of directors interlock network (snapshot).
us_patents
¶
computing
¶
Computing and systems networks (Netzschleuder).
Internet topology, autonomous-system graphs, and routing snapshots.
Functions:
| Name | Description |
|---|---|
internet_as |
Internet AS-level topology snapshot (Karrer-Newman-Zdeborová, 2014). |
as_skitter |
CAIDA Skitter AS-level network. |
topology |
Internet router-level topology. |
route_views |
Route Views BGP snapshot. |
internet_as
¶
Internet AS-level topology snapshot (Karrer-Newman-Zdeborová, 2014).
as_skitter
¶
topology
¶
route_views
¶
Route Views BGP snapshot.
The catalogue holds 733 daily snapshots spanning 1997-11-08 to 2000-01-02,
named by date; the default is the last one (6,474 ASes, 13,895 links). The
previous default, 20030701, is outside that range and always 404'd.
Source code in src/graphnetz/datasets/computing.py
vision
¶
Geometry and vision datasets.
Coverage:
- Image-derived superpixel graphs: MNISTSuperpixels, CIFAR10 (GNN benchmark).
- Meshes / point clouds: PyG ModelNet (10/40 classes).
ShapeNet part segmentation was dropped from the catalogue: its only host,
shapenet.cs.stanford.edu, answers neither ICMP nor TCP, upstream PyG still
points at it, and the alternative its maintainers document requires an account.
Rather than advertise a loader that cannot fetch its data, or repoint it at an
unofficial mirror and silently change the dataset's provenance and licence, the
entry is removed. Restoring it means adding a loader whose source can be
downloaded.
Functions:
| Name | Description |
|---|---|
mnist_superpixels |
MNIST images converted to 75-superpixel graphs. |
cifar10_superpixels |
CIFAR10 superpixel graphs (GNN benchmark suite). |
modelnet10 |
ModelNet10 3D shapes (10 classes). |
modelnet40 |
ModelNet40 3D shapes (40 classes). |
physics
¶
Physics and chemistry datasets.
Coverage:
- Molecules: PyG QM9, ZINC.
- Spin systems / lattices: synthetic 2D Ising lattice graphs (IsingLattice).
Feynman diagrams, reaction networks, and large crystal-structure databases lack canonical PyG-format datasets and are intentionally omitted.
Functions:
| Name | Description |
|---|---|
qm9 |
QM9 quantum-chemistry benchmark (134k small molecules). |
zinc |
ZINC molecular regression benchmark. |
IsingLattice
¶
IsingLattice(
root: str,
num_graphs: int = 64,
side: int = 10,
temperature: float = 2.27,
seed: int = 0,
)
Bases: InMemoryDataset
Synthetic 2D Ising lattice ensemble.
Each graph is an L x L square lattice with periodic-free boundaries;
node features are Bernoulli spins drawn at temperature temperature
(Glauber-style independent sampling -- not a thermalised configuration but a
cheap proxy useful for representation-learning benchmarks).
Source code in src/graphnetz/datasets/physics.py
zinc
¶
security
¶
Security-related graph datasets.
Coverage:
- Terrorism association networks (Krebs 9/11; Madrid 2004 train bombings) via Netzschleuder.
- Malware function call graphs: PyG
MalNetTiny(5 malware families).
Generic attack graphs and threat-intelligence/IoC graphs lack canonical public benchmarks and are intentionally omitted.
Functions:
| Name | Description |
|---|---|
terrorists_911 |
Krebs 9/11 terrorist association network. |
train_terrorists |
Madrid 2004 train bombing terrorist network. |
malnet_tiny |
MalNet-Tiny: 5 malware family function-call graphs. |