2 writes to Partitioning
Microsoft.ML.FastTree (2)
FastTree.cs (1)
664OptimizationAlgorithm.TreeLearner.Partitioning =
Training\TreeLearners\TreeLearner.cs (1)
21Partitioning = new DocumentPartitioning(TrainData.NumDocs, numLeaves);
13 references to Partitioning
Microsoft.ML.FastTree (13)
Training\OptimizationAlgorithms\AcceleratedGradientDescent.cs (1)
45trainingScores.AddScores(tree, TreeLearner.Partitioning, 1.0);
Training\OptimizationAlgorithms\GradientDescent.cs (2)
116AdjustTreeOutputsOverride.AdjustTreeOutputs(ch, tree, TreeLearner.Partitioning, TrainingScores); 118(ObjectiveFunction as IStepSearch).AdjustTreeOutputs(ch, tree, TreeLearner.Partitioning, TrainingScores);
Training\OptimizationAlgorithms\OptimizationAlgorithm.cs (2)
78t.AddScores(tree, TreeLearner.Partitioning, 1.0); 110var regularizer = new RecursiveRegressionTree(tree, TreeLearner.Partitioning, 0);
Training\TreeLearners\FastForestLeastSquaresTreeLearner.cs (1)
38tree.SetLabelsDistribution(Partitioning.GetDistribution(
Training\TreeLearners\LeastSquaresRegressionTreeLearner.cs (7)
262FindBestSplitOfSiblings(lteChild, gtChild, Partitioning, targets); 314Partitioning.Split(bestLeaf, (TrainData.Flocks[bestSplitInfo.Flock] as OneHotFeatureFlock)?.Bins, CategoricalThresholds, gtChild); 317Partitioning.Split(bestLeaf, TrainData.GetIndexer(bestSplitInfo.Feature), bestSplitInfo.Threshold, gtChild); 320Contracts.Assert(bestSplitInfo.GTCount < 0 || Partitioning.NumDocsInLeaf(gtChild) == bestSplitInfo.GTCount 332Partitioning.Initialize(); 355if (Partitioning.NumDocs == TrainData.NumDocs) 361SmallerChildSplitCandidates.Initialize(0, Partitioning, targets, GetTargetWeights(), FilterZeros);