cynricfu / MAGNN

Metapath Aggregated Graph Neural Network for Heterogeneous Graph Embedding
398 stars 69 forks source link

About Data Preprocessing #15

Closed empty-id closed 3 years ago

empty-id commented 3 years ago

Hi, I have a question about the preprocessing in DBLP.

As I see that in the preprocess_DBLP.ipynb, you use data/raw/DBLP/DBLP4057_GAT_with_idx.mat from HAN.

Where could I find that file? And how to promise the corresponding index of that matrix is same with your data accordingly?

cynricfu commented 3 years ago

DBLP4057_GAT_with_idx.mat is obtained from HAN's official repo. Specifically, this Baidu Wangpan link with access code 6b3h.

As of the index correspondence, I have verified it by comparing the labels from the DBLP4057_GAT_with_idx.mat file and the labels from the author_label.txt file. They are the same.

empty-id commented 3 years ago

Yeah, I get it. Thank you!