Packed question related with link prediction

  1. As i have specified edge features in only some of the node pairs, most of the edge created in negative graph aren’t included within it, so how does it will be infered for the negative edge features?

Do you mean only part of the edges have features? If so, you can use 0-valued tensors for edges without features.

  1. And for the application, i am using SAGEConv snippet, please confirm if the list of modules and flow i mentioned below true.

Typically you first sample both negative graphs and positive graphs, then use a GNN (a Model instance in your case) to update node representations, and finally pass the updated node representations to an instance of DotProductPredictor.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.