1 write to LowerIsBetter
Microsoft.ML.FastTree (1)
Training\EarlyStoppingCriteria.cs (1)
89
LowerIsBetter
= lowerIsBetter;
12 references to LowerIsBetter
Microsoft.ML.FastTree (12)
Training\EarlyStoppingCriteria.cs (12)
82
Contracts.Assert((
LowerIsBetter
&& value <= _bestScore) || value >= _bestScore);
90
_bestScore =
LowerIsBetter
? float.PositiveInfinity : float.NegativeInfinity;
108
bool isBestEver = ((score > BestScore) !=
LowerIsBetter
);
166
if (
LowerIsBetter
)
250
float recentBestScore =
LowerIsBetter
? float.PositiveInfinity : float.NegativeInfinity;
253
if ((score > recentBestScore) !=
LowerIsBetter
)
336
if (
LowerIsBetter
)
394
if (
LowerIsBetter
)
451
if (
LowerIsBetter
)
501
_prevScore =
LowerIsBetter
? float.PositiveInfinity : float.NegativeInfinity;
509
_prevScore =
LowerIsBetter
? float.PositiveInfinity : float.NegativeInfinity;
521
_count = ((validationScore < _prevScore) !=
LowerIsBetter
) ? _count + 1 : 0;