FlickrLastFM
- class FlickrLastFM(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 social networks from Flickr and LastFM. Nodes in both networks represent users, and edges represent friend / following relationships in Flickr and LastFM, respectively. The gender of a user is treated as the node attributes (male, female, unknown), and the level of people a user is connected to is treated as the edge attributes (e.g., leader with leader). There are 452 common users across two networks.
STATS:
Graph
#nodes
#edges
#node attrs
#edge attrs
Flickr
12,974
16,149
3
3
LastFM
15,436
16,319
3
3