EarlyStoppingState

Models & Types · AiDotNet.HyperparameterOptimization

Represents the current state of early stopping.

Constructors

Constructor Summary
EarlyStoppingState(bool stopped, double bestValue, int bestEpoch, int epochsSinceBest, int patience, int totalChecks) Initializes a new EarlyStoppingState.

Properties

Property Summary
bool Stopped { get; } Whether early stopping has been triggered.
double BestValue { get; } The best value observed.
int BestEpoch { get; } The epoch at which the best value was observed.
int EpochsSinceBest { get; } Number of epochs since the best value was observed.
int Patience { get; } The patience value configured.
int TotalChecks { get; } Total number of checks performed.

Methods

Method Summary
string ToString()