EarlyStoppingRuleBase.CheckScore(Single, Single, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.