oa::EarlyStopMode

oa::CbEarlyStop keras EarlyStopping. calls iter.requestStop() once the monitored value has not improved for `patience` epochs — the training while-loop exits on the next isDone(). Pair with oa::CbCheckpoint(RestoreBest) to also get restore_best_weights semantics. Patience: number of epochs without improvement to tolerate. MinDelta: minimum change to count as improvement. Mode: Min for loss (lower is better), Max for accuracy (higher is better). If inMetric is provided, uses that metric's value; otherwise epoch mean loss.

Public Values

Min
Max