Skip to content
Discussion options

You must be logged in to vote

Ok, just figured it out. In the default case the edge_attr is not split into train, val, and test. In the default case, an edge_label is created for a binary prediction task.
In the case, that there are already some labels the key parameter of RandomLinkSplit can be used to control the behavior.
So by setting the key to edge_attr the edge_attr gets split up into train, val and test.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nilskre
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant