Word2VecOptions

Options & Configuration · AiDotNet.NeuralNetworks.Options

Configuration options for the Word2Vec model.

Inheritance: ModelOptions → NeuralNetworkOptions → ModelHyperparameterOptions → EmbeddingModelOptions → Word2VecOptions

Constructors

Constructor Summary
Word2VecOptions() Initializes a new instance of the Word2VecOptions class carrying this model’s shipped defaults.

Properties

Property Summary
Word2VecType Type { get; set; } Gets or sets the type.
int WindowSize { get; set; } Gets or sets the window size.

Methods

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