GraphClassificationOptions

Options & Configuration · AiDotNet.NeuralNetworks.Tasks.Graph

Configuration options for GraphClassificationModel.

Inheritance: ModelOptions → NeuralNetworkOptions → ModelHyperparameterOptions → GraphModelOptions → GraphClassificationOptions

For Beginners

Graph classification labels a whole graph rather than its parts — is this molecule toxic, is this transaction network fraudulent. The values here are the ones the model ships with.

Constructors

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

Properties

Property Summary
GraphPooling PoolingType { get; set; } Gets or sets how per-node representations are combined into one per-graph representation.
int EmbeddingDim { get; set; } Gets or sets the width of the pooled whole-graph embedding.
int NumGnnLayers { 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.