Table of Contents

Class EarlyStoppingConfig

Namespace
AiDotNet.Models.Options
Assembly
AiDotNet.dll

Early stopping configuration for a training stage.

public class EarlyStoppingConfig
Inheritance
EarlyStoppingConfig
Derived
Inherited Members

Properties

Enabled

Gets or sets whether early stopping is enabled.

public bool Enabled { get; set; }

Property Value

bool

LowerIsBetter

Gets or sets whether lower values are better (true for loss, false for accuracy).

public bool LowerIsBetter { get; set; }

Property Value

bool

MinDelta

Gets or sets the minimum change to qualify as an improvement.

public double MinDelta { get; set; }

Property Value

double

MonitorMetric

Gets or sets the metric to monitor for early stopping.

public string MonitorMetric { get; set; }

Property Value

string

Patience

Gets or sets the number of epochs with no improvement before stopping.

public int Patience { get; set; }

Property Value

int