18 references to NumFlocks
Microsoft.ML.FastTree (18)
Dataset\Dataset.cs (10)
91
Contracts.Assert(0 <= flock && flock <
NumFlocks
);
102
Contracts.Assert(0 <= flock && flock <
NumFlocks
);
266
FeatureFlockBase[][] featureParts = Utils.BuildArray(numParts, i => new FeatureFlockBase[
NumFlocks
]);
267
Parallel.For(0,
NumFlocks
, new ParallelOptions { MaxDegreeOfParallelism = BlockingThreadPool.NumThreads },
315
FeatureFlockBase[] features = new FeatureFlockBase[
NumFlocks
];
317
Parallel.For(0,
NumFlocks
, new ParallelOptions { MaxDegreeOfParallelism = BlockingThreadPool.NumThreads },
963
_flockIndexers = _dataset._flocks.Select(d => d.GetFlockIndexer()).ToArray(_dataset.
NumFlocks
);
967
_flockIndexers = new FeatureFlockBase.FlockForwardIndexerBase[_dataset.
NumFlocks
];
968
for (int iflock = 0; iflock < _dataset.
NumFlocks
; ++iflock)
982
Contracts.Assert(Enumerable.Range(0, _dataset.
NumFlocks
).All(f =>
GamTrainer.cs (1)
339
}, TrainSet.
NumFlocks
);
Training\TreeLearners\LeastSquaresRegressionTreeLearner.cs (7)
144
FindBestThresholdForFlockThreadWorker, TrainData.
NumFlocks
);
152
histogramPool[i] = new SufficientStatsBase[TrainData.
NumFlocks
];
153
for (int j = 0; j < TrainData.
NumFlocks
; j++)
162
_sizeOfReservedMemory += (long)IntPtr.Size * TrainData.
NumFlocks
;
674
Contracts.Assert(0 <= flock && flock < TrainData.
NumFlocks
);
843
if (data.
NumFlocks
< data.NumFeatures / 2)
844
FlockToBestFeature = new int[data.
NumFlocks
];