LinkScorer

Enums · AiDotNet.Graphs.Extensions

Scoring strategy for PredictLink. Reference link-prediction impls (GAE, VGAE, R-GCN) each hard-code one scorer; here callers pick per call.

Fields

Field Summary
LinkScorer Cosine Cosine similarity between the two node embeddings — magnitude-invariant.
LinkScorer DotProduct Dot product between the two node embeddings — the DistMult / GAE default.
LinkScorer SigmoidDot Sigmoid(dot product) — squashes the score into a probability in (0, 1).
int value__