46 writes to NumberOfLeaves
Microsoft.ML.AutoML (5)
SweepableEstimator\Estimators\FastForest.cs (1)
52NumberOfLeaves = param.NumberOfLeaves,
SweepableEstimator\Estimators\FastTree.cs (4)
15NumberOfLeaves = param.NumberOfLeaves, 38NumberOfLeaves = param.NumberOfLeaves, 61NumberOfLeaves = param.NumberOfLeaves, 84NumberOfLeaves = param.NumberOfLeaves,
Microsoft.ML.Core.Tests (2)
UnitTests\TestEntryPoints.cs (2)
2178NumberOfLeaves = 5, 4462NumberOfLeaves = 4,
Microsoft.ML.FastTree (1)
FastTree.cs (1)
117FastTreeTrainerOptions.NumberOfLeaves = numberOfLeaves;
Microsoft.ML.IntegrationTests (2)
IntrospectiveTraining.cs (2)
40new FastForestRegressionTrainer.Options { NumberOfLeaves = 5, NumberOfTrees = 3, NumberOfThreads = 1 })); 84new FastTreeBinaryTrainer.Options { NumberOfLeaves = 5, NumberOfTrees = 3, NumberOfThreads = 1 }));
Microsoft.ML.Predictor.Tests (3)
TestPredictors.cs (3)
636NumberOfLeaves = 4, 658NumberOfLeaves = 4, 765NumberOfLeaves = 4,
Microsoft.ML.Samples (7)
Dynamic\Transforms\TreeFeaturization\FastForestBinaryFeaturizationWithOptions.cs (1)
53NumberOfLeaves = 6,
Dynamic\Transforms\TreeFeaturization\FastForestRegressionFeaturizationWithOptions.cs (1)
55NumberOfLeaves = 6,
Dynamic\Transforms\TreeFeaturization\FastTreeBinaryFeaturizationWithOptions.cs (1)
55NumberOfLeaves = 6,
Dynamic\Transforms\TreeFeaturization\FastTreeRankingFeaturizationWithOptions.cs (1)
51NumberOfLeaves = 6,
Dynamic\Transforms\TreeFeaturization\FastTreeRegressionFeaturizationWithOptions.cs (1)
55NumberOfLeaves = 6,
Dynamic\Transforms\TreeFeaturization\FastTreeTweedieFeaturizationWithOptions.cs (1)
55NumberOfLeaves = 6,
Dynamic\Transforms\TreeFeaturization\PretrainedTreeEnsembleFeaturizationWithOptions.cs (1)
43NumberOfLeaves = 4,
Microsoft.ML.Samples.OneDal (2)
Program.cs (2)
75options.NumberOfLeaves = numberOfLeaves; 107options.NumberOfLeaves = numberOfLeaves;
Microsoft.ML.Tests (24)
TrainerEstimators\OneDalEstimators.cs (1)
68options.NumberOfLeaves = 128;
TrainerEstimators\TreeEnsembleFeaturizerTest.cs (15)
30NumberOfLeaves = 5, 137NumberOfLeaves = 4, 189NumberOfLeaves = 4, 244NumberOfLeaves = 4, 312NumberOfLeaves = 4, 361NumberOfLeaves = 4, 400NumberOfLeaves = 4, 439NumberOfLeaves = 4, 477NumberOfLeaves = 4, 515NumberOfLeaves = 4, 553NumberOfLeaves = 4, 591NumberOfLeaves = 4, 646NumberOfLeaves = 4, 720NumberOfLeaves = 4, 778NumberOfLeaves = 4,
TrainerEstimators\TreeEstimators.cs (8)
46NumberOfLeaves = 5, 155NumberOfLeaves = 10, 217new FastTreeRegressionTrainer.Options { NumberOfTrees = 10, NumberOfThreads = 1, NumberOfLeaves = 5 }); 910new FastTreeRegressionTrainer.Options { NumberOfTrees = 10, NumberOfThreads = 1, NumberOfLeaves = 5 }); 928new FastForestRegressionTrainer.Options { NumberOfTrees = 10, NumberOfThreads = 1, NumberOfLeaves = 5 }); 946new FastTreeTweedieTrainer.Options { NumberOfTrees = 10, NumberOfThreads = 1, NumberOfLeaves = 5 }); 989new FastTreeBinaryTrainer.Options { NumberOfTrees = 2, NumberOfThreads = 1, NumberOfLeaves = 5 })); 1007new FastForestBinaryTrainer.Options { NumberOfTrees = 2, NumberOfThreads = 1, NumberOfLeaves = 4, CategoricalSplit = true }));
15 references to NumberOfLeaves
Microsoft.ML.FastTree (15)
BoostingFastTree.cs (5)
44if (FastTreeTrainerOptions.NumberOfLeaves > 2 && FastTreeTrainerOptions.HistogramPoolSize > FastTreeTrainerOptions.NumberOfLeaves - 1) 47if (FastTreeTrainerOptions.NumberOfLeaves > 2 && FastTreeTrainerOptions.HistogramPoolSize > FastTreeTrainerOptions.NumberOfLeaves - 1) 66TrainSet, FastTreeTrainerOptions.NumberOfLeaves, FastTreeTrainerOptions.MinimumExampleCountPerLeaf, FastTreeTrainerOptions.EntropyCoefficient,
FastTree.cs (4)
265FastTreeTrainerOptions.HistogramPoolSize = FastTreeTrainerOptions.NumberOfLeaves * 2 / 3; 266if (FastTreeTrainerOptions.HistogramPoolSize > FastTreeTrainerOptions.NumberOfLeaves - 1) 267FastTreeTrainerOptions.HistogramPoolSize = FastTreeTrainerOptions.NumberOfLeaves - 1; 586return new BaggingProvider(TrainSet, FastTreeTrainerOptions.NumberOfLeaves, FastTreeTrainerOptions.Seed, FastTreeTrainerOptions.BaggingExampleFraction);
FastTreeArguments.cs (2)
621ectx.CheckUserArg(NumberOfLeaves >= 2, nameof(NumberOfLeaves), "Must be at least 2.");
FastTreeRanking.cs (1)
224return new RankingBaggingProvider(TrainSet, FastTreeTrainerOptions.NumberOfLeaves, FastTreeTrainerOptions.Seed, FastTreeTrainerOptions.BaggingExampleFraction);
RandomForest.cs (1)
66TrainSet, FastTreeTrainerOptions.NumberOfLeaves, FastTreeTrainerOptions.MinimumExampleCountPerLeaf, FastTreeTrainerOptions.EntropyCoefficient,
RandomForestClassification.cs (1)
274int numberOfLeaves = FastTreeTrainerOptions.NumberOfLeaves;
RandomForestRegression.cs (1)
406int numberOfLeaves = FastTreeTrainerOptions.NumberOfLeaves;