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)
52
if ((
_numberOfDroppedTrees
== 0) && (numberOfTrees > 0))
59
_numberOfDroppedTrees
, numberOfTrees, DropoutRate);
66
s[j] *=
_numberOfDroppedTrees
/ (1.0 +
_numberOfDroppedTrees
); // rescaling the dropped tree
68
Ensemble.GetTreeAt(i).ScaleOutputsBy(
_numberOfDroppedTrees
/ (1.0 +
_numberOfDroppedTrees
));
73
TrainingScores.Scores[j] -= _droppedScores[j] / (1.0 +
_numberOfDroppedTrees
);
135
double scaling = (1.0 / (1.0 +
_numberOfDroppedTrees
));