FlickrMySpace

class FlickrMySpace(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 social networks from Flickr and MySpace. Nodes in both networks represent users, and edges represent friend / following relationships. 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 267 common users across two networks.

STATS:

Graph

#nodes

#edges

#node attrs

#edge attrs

Flickr

6,714

7,333

3

3

MySpace

10,733

11,081

3

3