2 writes to BaggingSize
Microsoft.ML.FastTree (1)
RandomForestClassification.cs (1)
50BaggingSize = 1;
Microsoft.ML.Tests (1)
TrainerEstimators\TreeEstimators.cs (1)
293BaggingSize = 2,
11 references to BaggingSize
Microsoft.ML.FastTree (11)
FastTree.cs (8)
269if (FastTreeTrainerOptions.BaggingSize > 0) 271int bagCount = FastTreeTrainerOptions.NumberOfTrees / FastTreeTrainerOptions.BaggingSize; 272if (bagCount * FastTreeTrainerOptions.BaggingSize != FastTreeTrainerOptions.NumberOfTrees) 585Contracts.Assert(FastTreeTrainerOptions.BaggingSize > 0); 623BaggingProvider baggingProvider = FastTreeTrainerOptions.BaggingSize > 0 ? CreateBaggingProvider() : null; 661if (FastTreeTrainerOptions.BaggingSize > 0 && Ensemble.NumTrees % FastTreeTrainerOptions.BaggingSize == 0) 684else if (FastTreeTrainerOptions.BaggingSize > 0 && Ensemble.Trees.Count() > 0)
FastTreeArguments.cs (2)
631ectx.CheckUserArg(0 <= BaggingSize, nameof(BaggingSize), "Must be non-negative.");
FastTreeRanking.cs (1)
223Host.Assert(FastTreeTrainerOptions.BaggingSize > 0);