LossFunctionConfig

Options & Configuration · AiDotNet.Training.Configuration

Configuration for the loss function section of a training recipe.

For Beginners

The loss function measures how far the model’s predictions are from the correct answers. The name should match a LossType value (e.g., “MeanSquaredError”, “CrossEntropy”, “Huber”).

Constructors

Constructor Summary
LossFunctionConfig()

Properties

Property Summary
Dictionary<string, object> Params { get; set; } Gets or sets loss function-specific parameters as key-value pairs.
string Name { get; set; } Gets or sets the name of the loss function type to create.