LinkPredictionOptions

Options & Configuration · AiDotNet.NeuralNetworks.Tasks.Graph

Configuration options for LinkPredictionModel.

Inheritance: ModelOptions → NeuralNetworkOptions → ModelHyperparameterOptions → GraphModelOptions → LinkPredictionOptions

For Beginners

Link prediction guesses which connections a graph is missing — who else you might know, which molecule might bind to which protein. The values here are the ones the model ships with.

Constructors

Constructor Summary
LinkPredictionOptions() Initializes a new instance carrying the model’s published defaults.
LinkPredictionOptions(LinkPredictionOptions other) Initializes a new instance by copying another instance.

Properties

Property Summary
LinkPredictionDecoder DecoderType { get; set; } Gets or sets how a candidate edge is scored from its two node embeddings.
int EmbeddingDim { get; set; } Gets or sets the width of the final node embedding used to score a candidate edge.
int NumLayers { get; set; } Gets or sets the number of message-passing layers.

Methods

Method Summary
void Validate() Throws if a value this model requires has been left unset or is not positive.