GET icon indicating copy to clipboard operation
GET copied to clipboard

How to construct a graph

Open wj-gxy opened this issue 3 years ago • 4 comments

Hello, in your repository, I can't find a way to build a graph, please help me point out the way to build a graph, I want to use this as the beginning of my learning, I would be grateful and look forward to your reply.

wj-gxy avatar Apr 19 '22 08:04 wj-gxy

Hi, The code is in the file interaction.py, where the graph construction is realized in the class ClassificationInteractions. Please take a look at it. If you have any further question, feel free to contact us again.

Jason98Xu avatar Apr 19 '22 09:04 Jason98Xu

Maybe because I just started to learn the relevant content of the graph, there are a lot of codes that I can't understand. Do you have the code of this code notebook, or do you have any recommended content, thank you very much.

wj-gxy avatar Apr 20 '22 11:04 wj-gxy

As a starter, I would recommend you to read some representative paper in the field of graph neural networks, such as graph convolutional networks, graph attention networks, and graph gated neural networks, to take a overview of how to propagate information on graphs. There are also lots of blogs about the realization of these GNNs, I think these will be useful for you to get a quick start.

Jason98Xu avatar Apr 20 '22 12:04 Jason98Xu

Yes, I have read these kinds of articles, and I have also run through the source code, but their datasets are all constructed graphs, including the code of TextGCN, BiGCN papers, I have also run, see your paper is by The text is transferred to the graph, and I want to add knowledge in this area.

wj-gxy avatar Apr 20 '22 12:04 wj-gxy