1 write to _toleratedQueue
Microsoft.ML.FastTree (1)
Training\Test.cs (1)
295
_toleratedQueue
= new LinkedList<ValueIterationPair>();
8 references to _toleratedQueue
Microsoft.ML.FastTree (8)
Training\Test.cs (8)
285
public double BestAverageValue =>
_toleratedQueue
.Count == 0 ? 0.0 :
_toleratedQueue
.First().Sum / _windowSize;
322
(
_toleratedQueue
.Count == 0 || _currentWindowSum >
_toleratedQueue
.Last().Sum))
324
_toleratedQueue
.AddLast(new ValueIterationPair(Iteration - _windowSize / 2, _currentWindowSum));
327
while (
_toleratedQueue
.First().Sum < _currentWindowSum * toleranceFactor)
329
_toleratedQueue
.RemoveFirst();
332
BestIteration =
_toleratedQueue
.First().Iteration;