Link prediction predicts missing or future edges in a graph. Given node embeddings h_u and h_v, score the likelihood of an edge. Common scorers: dot product, Euclidean distance, or MLP.
s(u,v)=huThvImplement:
link_prediction_score(u_emb, v_emb, method='dot')
Scores edge likelihood between two nodes.
No results yet
Run your code to check it against the examples, or submit to run every test.