1 write to BestSplitInfoPerLeaf
Microsoft.ML.FastTree (1)
Training\TreeLearners\LeastSquaresRegressionTreeLearner.cs (1)
136
BestSplitInfoPerLeaf
= new SplitInfo[numLeaves];
14 references to BestSplitInfoPerLeaf
Microsoft.ML.FastTree (14)
Training\TreeLearners\LeastSquaresRegressionTreeLearner.cs (14)
212
BestSplitInfoPerLeaf
[0] = newRootSplitInfo;
239
SplitInfo rootSplitInfo =
BestSplitInfoPerLeaf
[0];
265
bestLeaf =
BestSplitInfoPerLeaf
.Select(info => info.Gain).ArgMax(tree.NumLeaves);
266
SplitInfo bestLeafSplitInfo =
BestSplitInfoPerLeaf
[bestLeaf];
286
SplitInfo bestSplitInfo =
BestSplitInfoPerLeaf
[bestLeaf];
376
_parallelTraining.FindGlobalBestSplit(SmallerChildSplitCandidates, null, FindBestThresholdFromRawArray,
BestSplitInfoPerLeaf
);
382
/// and fills in the corresponding elements of <see cref="
BestSplitInfoPerLeaf
"/>.
398
BestSplitInfoPerLeaf
[lteChild].Gain = double.NegativeInfinity;
399
BestSplitInfoPerLeaf
[gtChild].Gain = double.NegativeInfinity;
440
_parallelTraining.FindGlobalBestSplit(SmallerChildSplitCandidates, LargerChildSplitCandidates, FindBestThresholdFromRawArray,
BestSplitInfoPerLeaf
);
494
BestSplitInfoPerLeaf
[leaf] = leafSplitCandidates.FeatureSplitInfo[bestFeature];
495
if (
BestSplitInfoPerLeaf
[leaf].CategoricalSplit)
496
Array.Sort(
BestSplitInfoPerLeaf
[leaf].CategoricalFeatureIndices);
498
BestSplitInfoPerLeaf
[leaf].Feature = bestFeature;