GraphSAGE-and-GAT-for-link-prediction
GraphSAGE-and-GAT-for-link-prediction copied to clipboard
where is the ia-contacts_hypertext2009_neg_examples_train_True_True.txt generated?
Hi, when i run python main.py --json config_gat.json, there is a error is ia-contacts_hypertext2009_neg_examples_train_True_True.txt not found. I don't know where ia-contacts_hypertext2009_neg_examples_train_True_True.txt generated or how I can get the ia-contacts_hypertext2009_neg_examples_train_True_True.txt.
Sorry for the late response! You can download the dataset from here and then generate the examples.
so how to generate the examples?
Sorry for the late response! You can download the dataset from here and then generate the examples.
This line is the call to create a dataset object. The sequence of function calls ultimately creates a dataset object using the code in src/datasets/link_prediction.py
. This processes the graph to do a variety of things, including generating positive and negative examples.