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