easygraph.datasets.dynamic.email_enron module#

class easygraph.datasets.dynamic.email_enron.Email_Enron(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 in self.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 use dgl.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.