Skip to content
Discussion options

You must be logged in to vote

This is tricky. In general, it's hard to get any better than using node degree statistics :)

You can also use MetaPath2Vec but this does not really work in an inductive learning scenario where you want to apply your model on unseen graphs. An additional alternative is to lift transforms.LocalDegreeProfile to the heterogeneous graph case.

For mini-batching, it works equivalent as in a homogeneous scenario, except that now you have a batch vector for each node type. You can then use global_pooling operators for each node type separately.

Replies: 1 comment 15 replies

Comment options

You must be logged in to vote
15 replies
@rusty1s
Comment options

@Zytrus
Comment options

@Zytrus
Comment options

@rusty1s
Comment options

@Zytrus
Comment options

Answer selected by Zytrus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants