Airport

class Airport(root: str | Path, download: bool | None = False, train_ratio: float | None = 0.2, dtype: dtype = torch.float32, seed: int | None = 0)[source]

Bases: Dataset

A pair of networks synthesized from the American air-traffic network. Nodes represent airports and an edge exists between two aiports if there are commercial flights between them. The level of activity in each airport is used as node attributes. The two networks are noisy permutations of the original network generated by randomly inserting 10% edges (Airport1) and deleting 15% edges (Airport2) from the original network, respectively. There are in total 1,190 common nodes across two networks.

Graph

#nodes

#edges

#node attrs

#edge attrs

Airport1

1,190

14,958

4

0

Airport2

1,190

11,560

4

0