Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to construct a graph #1

Open
wj-gxy opened this issue Apr 19, 2022 · 4 comments
Open

How to construct a graph #1

wj-gxy opened this issue Apr 19, 2022 · 4 comments

Comments

@wj-gxy
Copy link

wj-gxy commented Apr 19, 2022

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.

@Jason98Xu
Copy link
Collaborator

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.

@wj-gxy
Copy link
Author

wj-gxy commented Apr 20, 2022

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.

@Jason98Xu
Copy link
Collaborator

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.

@wj-gxy
Copy link
Author

wj-gxy commented Apr 20, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants