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