Paper:Heterogeneous Graph Neural Network with Distance Encoding
- Clone the Openhgnn-DGL
python main.py -m HDE -d HGBl-IMDB -t link_prediction -g 0 --use_best_config
If you do not have gpu, set -gpu -1.
Dataset | AUC_ROC |
---|---|
HGBl-IMDB | 0.9151 |
HGBl-ACM | 0.8741 |
HGBl-DBLP | 0.9836 |
hde_trainer
HDE
Supported datasets:
- HGBl-IMDB
- HGBl-ACM
- HGBl-DBLP
emb_dim = 128 # dimension of HDE
k_hop = 2 # radius when sampling ego graph for a node
max_dist = 3 # max value of SPD, usually set to k_hop + 1
Zhiyuan Lu[GAMMA LAB]
Submit an issue or email to [email protected]