easygraph.datasets.dynamic.email_eu module#
- class easygraph.datasets.dynamic.email_eu.Email_Eu(raw_dir=None, force_reload=False, verbose=True, transform=None, save_dir='./')[source]#
Bases:
EasyGraphDataset
- download()[source]#
Overwrite to realize your own logic of downloading data.
It is recommended to download the to the
self.raw_dir
folder. Can be ignored if the dataset is already inself.raw_dir
.
- has_cache()[source]#
Overwrite to realize your own logic of deciding whether there exists a cached dataset.
By default False.
- load()[source]#
Overwrite to realize your own logic of loading the saved dataset from files.
It is recommended to use
dgl.data.utils.load_graphs
to load dgl graph from files and usedgl.data.utils.load_info
to load extra information into python dict object.
- process()[source]#
Loads input data from data directory and transfer to target graph for better analysis
- property save_name#
- property url#
Get url to download the raw dataset.