4 references to NumDocsInLeaf
Microsoft.ML.FastTree (4)
Training\RegressionTreeNodeDocuments.cs (1)
34_documentCount = Tree.GetNodesLeaves(NodeIndex).Sum(leaf => Partitioning.NumDocsInLeaf(leaf));
Training\TreeLearners\LeastSquaresRegressionTreeLearner.cs (3)
320Contracts.Assert(bestSplitInfo.GTCount < 0 || Partitioning.NumDocsInLeaf(gtChild) == bestSplitInfo.GTCount 389int numDocsInLteChild = partitioning.NumDocsInLeaf(lteChild); 390int numDocsInGtChild = partitioning.NumDocsInLeaf(gtChild);