cynricfu / MAGNN

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

Mask the positive train edges #7

Closed rynewu224 closed 4 years ago

rynewu224 commented 4 years ago

https://github.com/cynricfu/MAGNN/blob/144f39a79c9e753cc3ff01ce680d00c46f407898/utils/tools.py#L141 Why exclude the positive train edges in the function parse_minibatch_LastFM?

cynricfu commented 4 years ago

To avoid the label leakage issue as described in https://arxiv.org/abs/1905.13129.