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)
33
if (
_previousGradient
== null)
38
double beta = VectorUtils.GetDotProduct(_currentGradient, VectorUtils.Subtract(_currentGradient,
_previousGradient
)) / VectorUtils.GetDotProduct(
_previousGradient
,
_previousGradient
);