2 writes to _numberOfDroppedTrees
Microsoft.ML.FastTree (2)
Training\OptimizationAlgorithms\GradientDescent.cs (2)
51_numberOfDroppedTrees = droppedTrees.Length; 56_numberOfDroppedTrees = droppedTrees.Length;
8 references to _numberOfDroppedTrees
Microsoft.ML.FastTree (8)
Training\OptimizationAlgorithms\GradientDescent.cs (8)
52if ((_numberOfDroppedTrees == 0) && (numberOfTrees > 0)) 59_numberOfDroppedTrees, numberOfTrees, DropoutRate); 66s[j] *= _numberOfDroppedTrees / (1.0 + _numberOfDroppedTrees); // rescaling the dropped tree 68Ensemble.GetTreeAt(i).ScaleOutputsBy(_numberOfDroppedTrees / (1.0 + _numberOfDroppedTrees)); 73TrainingScores.Scores[j] -= _droppedScores[j] / (1.0 + _numberOfDroppedTrees); 135double scaling = (1.0 / (1.0 + _numberOfDroppedTrees));