Douban
- class Douban(root: str | Path, download: bool | None = False, train_ratio: float | None = 0.2, dtype: dtype = torch.float32, seed: int | None = 0)[source]
Bases:
DatasetA pair of online-offline social networks constructed from Douban. Nodes represent users and edges represent user interactions on the website. The location of a suer is treated as the node attribute, and the contact/friend relationship are treated as the edge attributes. There are 1,118 common user across the two networks.
STATS:
Graph
#nodes
#edges
#node attrs
#edge attrs
Douban(online)
3,906
8,164
538
2
Douban(offline)
1,118
1,511
538
2