cynricfu / MAGNN

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

etype list #5

Closed amansinha09 closed 4 years ago

amansinha09 commented 4 years ago

https://github.com/cynricfu/MAGNN/blob/144f39a79c9e753cc3ff01ce680d00c46f407898/run_DBLP.py#L18

Can you elaborate what does etypes_list signifies, and how do you consider the following list? Thanks.

cynricfu commented 4 years ago

Each scalar in etypes_list represents an edge type. Specifically, in your example: 0 represents author-paper 1 represents paper-author 2 represents paper-term 3 represents term-paper 4 represents paper-conference 5 represents conference-paper