iMoonLab / HGNN

Hypergraph Neural Networks (AAAI 2019)
MIT License
680 stars 130 forks source link

What's the difference between the adjacency matrix and the incidence matrix on cora and Pubmed dataset? #5

Closed bbjy closed 5 years ago

bbjy commented 5 years ago

Hi, thank you for your work! But , I have a question as I stated in the issue's title. "What's the difference between the adjacency matrix and the incidence matrix on cora and Pubmed dataset?" I think that they are the same. Right? Looking forward to your reply, Thank you!

yifanfeng97 commented 5 years ago

Hi, thank you for your attention. Here, we construct hyperedge from their one-hop neighbors for each node. If you don't concatenate extra hyperedge to existing citation constructed incidence matrix, they are just the same in the number but thorough different in mathematical. We can also construct hyperedge from the combination of one-hop and two-hop neighbors for each node. Hypergraph incidence matrix is more flexible than the graph adjacency matrix.

bbjy commented 5 years ago

I understand, thank you!