EarlyStoppingRuleBase.CheckScore(Single, Single, Boolean) Method

Definition

Check if the learning should stop or not.

public abstract bool CheckScore (float validationScore, float trainingScore, out bool isBestCandidate);
abstract member CheckScore : single * single * bool -> bool
Public MustOverride Function CheckScore (validationScore As Single, trainingScore As Single, ByRef isBestCandidate As Boolean) As Boolean

Parameters

validationScore
Single

A non negative number. Higher score means better result unless "_lowerIsBetter" is true.

trainingScore
Single

A non negative number. Higher score means better result unless "_lowerIsBetter" is true.

isBestCandidate
Boolean

True if the current result is the best ever.

Returns

If true, the learning should stop.

Applies to