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

Doing graph-level classification? #33

Open
gailmargolis76 opened this issue Jun 27, 2018 · 2 comments
Open

Doing graph-level classification? #33

gailmargolis76 opened this issue Jun 27, 2018 · 2 comments

Comments

@gailmargolis76
Copy link

My input is such that each subject has their own graph. This is different from the example given in train.py where there is only 1 graph (a citation network). In the tensorflow implementation of gcn, you suggest doing graph-level classification by combining the adjacency matrices of all the graphs in the input sample into one large adjacency matrix (as a sparse block-diagonal matrix). The part I am not sure how to implement in keras is the pooling of the output to produce 1 classification per graph. Any tips would be greatly appreciated!

@tkipf
Copy link
Owner

tkipf commented Jun 27, 2018 via email

@tkipf
Copy link
Owner

tkipf commented Jun 27, 2018 via email

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