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