1 write to Ensemble
Microsoft.ML.FastTree (1)
Training\OptimizationAlgorithms\OptimizationAlgorithm.cs (1)
42
Ensemble
= ensemble;
13 references to Ensemble
Microsoft.ML.FastTree (13)
Training\OptimizationAlgorithms\AcceleratedGradientDescent.cs (7)
48
for (int t = 0; t <
Ensemble
.NumTrees - 1; t++)
50
Ensemble
.GetTreeAt(t).ScaleOutputsBy(AgdScoreTracker.TreeMultiplier(t,
Ensemble
.NumTrees) / AgdScoreTracker.TreeMultiplier(t,
Ensemble
.NumTrees - 1));
63
if (bestIteration !=
Ensemble
.NumTrees)
68
Ensemble
.GetTreeAt(t).ScaleOutputsBy(AgdScoreTracker.TreeMultiplier(t, bestIteration) / AgdScoreTracker.TreeMultiplier(t,
Ensemble
.NumTrees));
Training\OptimizationAlgorithms\GradientDescent.cs (3)
48
int numberOfTrees =
Ensemble
.NumTrees;
68
Ensemble
.GetTreeAt(i).ScaleOutputsBy(_numberOfDroppedTrees / (1.0 + _numberOfDroppedTrees));
140
Ensemble
.AddTree(tree);
Training\OptimizationAlgorithms\NoOptimizationAlgorithm.cs (1)
39
Ensemble
.AddTree(tree);
Training\OptimizationAlgorithms\OptimizationAlgorithm.cs (2)
120
if (bestIteration !=
Ensemble
.NumTrees)
122
Ensemble
.RemoveAfter(Math.Max(bestIteration, 0));