DBLP
¶
DBLP(
base_dir: Optional[str] = None,
transform: Optional[Callable] = None,
pre_transform: Optional[Callable] = None,
)
Bases: HeteroDataset
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.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
base_dir
|
Optional[str]
|
directory where the dataset should be saved. |
None
|
transform
|
Optional[Callable]
|
A function/transform that takes in an
|
None
|
pre_transform
|
Optional[Callable]
|
A function/transform that takes in
an |
None
|
Source code in mlx_graphs/datasets/dblp.py
from mlx_graphs.datasets import DBLP · mlx_graphs/datasets/dblp.py