jianhao2016 / AllSet

This is the GitHub repository for our ICLR22 paper: "You are AllSet: A Multiset Function Framework for Hypergraph Neural Networks"
MIT License
93 stars 12 forks source link

Question about the original edge_index of Data object #14

Open mgao97 opened 9 months ago

mgao97 commented 9 months ago

Hi~

I have another question about the 'edge_index' of the original Data object.

Taking the CoauthorshipCora dataset as an example, why the size of the edge_index of it is [2, 9170], which is not correspond to the widely used values used in torch-geometric dataset object like [2, 5429].

Could you please give some illustrations on how to get it for a new dataset?

elichienxD commented 9 months ago

Hi @mgao97 ,

The common PyG dataset is a standard graph but not a hypergraph right? If I remember correctly, our shape [2, 9170] corresponds to the star-expansion bipartite graph for the considered hypergraph. See either my reply in #13 or our paper for detail on what is a star-expansion and the corresponding bipartite graph.

Best, Eli