Difference between edge_index and edge_label_index #3975
Answered
by
rusty1s
Jeriousman
asked this question in
Q&A
-
Literally what is difference between edge_index and edge_label_index? I guess it has something to do with negative sampling but I wish I can get some firm detailed information with some examples. |
Beta Was this translation helpful? Give feedback.
Answered by
rusty1s
Jan 30, 2022
Replies: 1 comment 1 reply
-
Sorry for the confusion.
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Jeriousman
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sorry for the confusion.
edge_index
denotes the edges that are used for message passing inside a GNNedge_label_index
denote the pairs of nodes that are used for supervision/loss computation. For example, we try to predict new pairs of links inedge_label_index
after propagating information and learning node embeddings based onedge_index
. In addition, as you correctly pointed out,edge_label_index
contains both positive and negative pairs of examples.