2 writes to Threshold
Microsoft.ML.FastTree (2)
Training\EarlyStoppingCriteria.cs (2)
212
Threshold
= threshold;
223
Threshold
= threshold;
6 references to Threshold
Microsoft.ML.FastTree (6)
Training\EarlyStoppingCriteria.cs (6)
395
return (recentAverage <= (1 +
Threshold
) * recentBest);
397
return (recentAverage >= (1 -
Threshold
) * recentBest);
403
internal override IEarlyStoppingCriterionFactory BuildFactory() => new Options() { Threshold =
Threshold
, WindowSize = WindowSize };
452
return (validationScore * recentBest >= (1 +
Threshold
) * BestScore * recentAverage);
454
return (validationScore * recentBest <= (1 -
Threshold
) * BestScore * recentAverage);
461
internal override IEarlyStoppingCriterionFactory BuildFactory() => new Options() { Threshold =
Threshold
, WindowSize = WindowSize };