2 implementations of CalculateSplittedLeafOutput
Microsoft.ML.FastTree (2)
GamTrainer.cs (1)
642public double CalculateSplittedLeafOutput(int count, double sumTargets, double sumWeights)
Training\TreeLearners\LeastSquaresRegressionTreeLearner.cs (1)
639public double CalculateSplittedLeafOutput(int count, double sumTargets, double sumWeights)
2 references to CalculateSplittedLeafOutput
Microsoft.ML.FastTree (2)
Dataset\FeatureFlock.cs (2)
319leafSplitCandidates.FeatureSplitInfo[featureIndex].LteOutput = leafCalculator.CalculateSplittedLeafOutput(totalCount - bestGTCount, sumTargets - bestSumGTTargets, sumWeights - bestSumGTWeights); 320leafSplitCandidates.FeatureSplitInfo[featureIndex].GTOutput = leafCalculator.CalculateSplittedLeafOutput(bestGTCount, bestSumGTTargets, bestSumGTWeights);