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)
286public 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)); 327while (_toleratedQueue.First().Sum < _currentWindowSum * toleranceFactor)