19 writes to NumberOfLeaves
Microsoft.ML.AutoML (3)
SweepableEstimator\Estimators\LightGbm.cs (3)
15
NumberOfLeaves
= param.NumberOfLeaves,
43
NumberOfLeaves
= param.NumberOfLeaves,
71
NumberOfLeaves
= param.NumberOfLeaves,
Microsoft.ML.LightGbm (5)
LightGbmBinaryTrainer.cs (1)
225
NumberOfLeaves
= numberOfLeaves,
LightGbmMulticlassTrainer.cs (1)
166
NumberOfLeaves
= numberOfLeaves,
LightGbmRankingTrainer.cs (1)
210
NumberOfLeaves
= numberOfLeaves,
LightGbmRegressionTrainer.cs (1)
183
NumberOfLeaves
= numberOfLeaves,
LightGbmTrainerBase.cs (1)
329
NumberOfLeaves
= numberOfLeaves,
Microsoft.ML.Predictor.Tests (1)
TestPredictors.cs (1)
811
NumberOfLeaves
= 4,
Microsoft.ML.Samples (3)
Dynamic\Trainers\Ranking\LightGbmWithOptions.cs (1)
33
NumberOfLeaves
= 4,
Dynamic\Trainers\Regression\LightGbmWithOptions.cs (1)
36
NumberOfLeaves
= 4,
Dynamic\Trainers\Regression\LightGbmWithOptionsAdvanced.cs (1)
46
NumberOfLeaves
= 4,
Microsoft.ML.Tests (7)
TrainerEstimators\TreeEstimators.cs (7)
66
NumberOfLeaves
= 10,
88
NumberOfLeaves
= 10,
114
NumberOfLeaves
= 10,
970
NumberOfLeaves
= 5
1053
NumberOfLeaves
= 5,
1088
NumberOfLeaves
= 5,
1116
NumberOfLeaves
= 5,
6 references to NumberOfLeaves
Microsoft.ML.LightGbm (6)
LightGbmMulticlassTrainer.cs (2)
327
if (!LightGbmTrainerOptions.
NumberOfLeaves
.HasValue)
328
ch.Info("Auto-tuning parameters: " + nameof(LightGbmTrainerOptions.
NumberOfLeaves
) + " = " + numberOfLeaves);
LightGbmTrainerBase.cs (4)
57
{nameof(
NumberOfLeaves
), "num_leaves"},
508
int numberOfLeaves = LightGbmTrainerOptions.
NumberOfLeaves
?? DefaultNumLeaves(numRow, hasCategorical, totalCats);
517
if (!LightGbmTrainerOptions.
NumberOfLeaves
.HasValue)
518
ch.Info("Auto-tuning parameters: " + nameof(LightGbmTrainerOptions.
NumberOfLeaves
) + " = " + numberOfLeaves);