PetarV- / GAT

Graph Attention Networks (https://arxiv.org/abs/1710.10903)
https://petar-v.com/GAT/
MIT License
3.24k stars 650 forks source link

Directed graph or undirected graph? #34

Closed Yihan-zz closed 5 years ago

Yihan-zz commented 5 years ago

Thank you for your great work but I have a simple question. Which graph do you think the datasets belongs to? Directed graph or Undirected graph? In the other words, can we consider a node B as a target node A's neiborhood if there is a link from A to B but not B to A ?

PetarV- commented 5 years ago

Hello,

Thank you for your issue and interest in GAT!

All the inputs in the datasets from the paper are undirected, but the GAT model (and our codebase) naturally supports directed edges.

Thanks, Petar