mims-harvard / SubGNN

Subgraph Neural Networks (NeurIPS 2020)
https://zitniklab.hms.harvard.edu/projects/SubGNN
MIT License
190 stars 35 forks source link

Data question #3

Closed wangzeyu135798 closed 4 years ago

wangzeyu135798 commented 4 years ago

Hi: In the downloaded data, there is ego_graphs.txt. As the content in this txt file, is it each node's one ego_graphs?

EmilyAlsentzer commented 4 years ago

Yes, that's correct. It's a dictionary from node id to list of nodes in the 1-hop neighborhood of the node. Check out the script precompute_graph_metrics.py to see how this is computed.