EarlyStoppingConfig

Options & Configuration · AiDotNet.Models.Options

Early stopping configuration for a training stage.

Known derived types: GlobalEarlyStoppingConfig

Constructors

Constructor Summary
EarlyStoppingConfig()

Properties

Property Summary
bool Enabled { get; set; } Gets or sets whether early stopping is enabled.
bool LowerIsBetter { get; set; } Gets or sets whether lower values are better (true for loss, false for accuracy).
double MinDelta { get; set; } Gets or sets the minimum change to qualify as an improvement.
int Patience { get; set; } Gets or sets the number of epochs with no improvement before stopping.
string MonitorMetric { get; set; } Gets or sets the metric to monitor for early stopping.