- class DBLP(root: str, transform: Optional[Callable] = None, pre_transform: Optional[Callable] = None)[source]
A subset of the DBLP computer science bibliography website, as collected in the “MAGNN: Metapath Aggregated Graph Neural Network for Heterogeneous Graph Embedding” paper. DBLP is a heterogeneous graph containing four types of entities - authors (4,057 nodes), papers (14,328 nodes), terms (7,723 nodes), and conferences (20 nodes). The authors are divided into four research areas (database, data mining, artificial intelligence, information retrieval). Each author is described by a bag-of-words representation of their paper keywords.
root (str) – Root directory where the dataset should be saved.
transform (callable, optional) – A function/transform that takes in an
torch_geometric.data.HeteroDataobject and returns a transformed version. The data object will be transformed before every access. (default:
pre_transform (callable, optional) – A function/transform that takes in an
torch_geometric.data.HeteroDataobject and returns a transformed version. The data object will be transformed before being saved to disk. (default: