Cora

class Cora(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 citation network Cora. Each network Nodes represent publications and an edge exists between two publications if they have a citation relationship. The two networks are noisy permutations of the original network generated by randomly inserting 10% edges (Cora1) and deleting 15% edges (Cora2) from the original network, respectively. There are in total 2,708 common nodes across two networks.

Graph

#nodes

#edges

#node attrs

#edge attrs

Cora1

2,708

6,334

1,433

0

Cora2

2,708

4,542

1,433

0