Skip to content
Discussion options

You must be logged in to vote

data.edge_index refers to the edges that are used for message passing. As such, during training and validation, you are allowed to propagate information based on the training edges, while during testing, you can propagate information based on the union of training and validation edges.

For evaluation, the data.edge_label_index holds a batch of positive and negative samples that should be used to evaluate your model on.

So:

  • data.edge_index should be solely used for message passing
  • data.edge_label_index should be used for evaluation

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dpaysan
Comment options

Answer selected by dpaysan
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