2 writes to _previousGradient
Microsoft.ML.FastTree (2)
Training\OptimizationAlgorithms\ConjugateGradientDescent.cs (2)
24_previousGradient = _currentGradient; 34_previousGradient = _currentGradient;
4 references to _previousGradient
Microsoft.ML.FastTree (4)
Training\OptimizationAlgorithms\ConjugateGradientDescent.cs (4)
33if (_previousGradient == null) 38double beta = VectorUtils.GetDotProduct(_currentGradient, VectorUtils.Subtract(_currentGradient, _previousGradient)) / VectorUtils.GetDotProduct(_previousGradient, _previousGradient);