2 writes to _currentWindowSum
Microsoft.ML.FastTree (2)
Training\Test.cs (2)
312
_currentWindowSum
= _currentWindowSum - outValue + currentValue;
316
_currentWindowSum
= _currentWindowSum + currentValue;
6 references to _currentWindowSum
Microsoft.ML.FastTree (6)
Training\Test.cs (6)
286
public double CurrentAverageValue =>
_currentWindowSum
/ _windowSize;
312
_currentWindowSum =
_currentWindowSum
- outValue + currentValue;
316
_currentWindowSum =
_currentWindowSum
+ currentValue;
322
(_toleratedQueue.Count == 0 ||
_currentWindowSum
> _toleratedQueue.Last().Sum))
324
_toleratedQueue.AddLast(new ValueIterationPair(Iteration - _windowSize / 2,
_currentWindowSum
));
327
while (_toleratedQueue.First().Sum <
_currentWindowSum
* toleranceFactor)