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

Heterogeneous graph classification #39

Open
tehranixyz opened this issue May 28, 2021 · 1 comment
Open

Heterogeneous graph classification #39

tehranixyz opened this issue May 28, 2021 · 1 comment

Comments

@tehranixyz
Copy link

Hi,
Thanks for making the source of HGT public.

A question that I have is that how can we use HGT to classify heterogeneous graphs?
Currently, the training examples that are provided are for node classification where we have one object of class Graph.
I was wondering how it's possible to have numerous objects of class Graph in which each object has a specific label.
Any help in this regard is greatly appreciated.

@acbull
Copy link
Owner

acbull commented Jun 3, 2021

For graph classification, you could either add a pooling layer over all node embeddings (such as average pooling), or add a virtual node in the graph as summary node.

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