13 references to NumBitsNeeded
Microsoft.ML.FastTree (13)
Dataset\DatasetUtils.cs (1)
54
skel.NumDocs, IntArrayType.Dense, IntArray.
NumBitsNeeded
(uvalToOrder.Count),
Dataset\Feature.cs (3)
298
bitsPerItem = IntArray.
NumBitsNeeded
(parts[0].ValueMap.Length);
307
bitsPerItem = IntArray.
NumBitsNeeded
(concatValueMap.Length);
333
IntArrayBits bitsPerItem = IntArray.
NumBitsNeeded
(concatValueMap.Length);
Dataset\IntArray.cs (1)
323
IntArrayBits classicBits = IntArray.
NumBitsNeeded
(maxval + 1);
FastTree.cs (7)
1050
IntArrayBits flockBits = IntArray.
NumBitsNeeded
(hotFeatureStarts[hotFeatureStarts.Length - 1] + 1);
1126
IntArrayBits flockBits = IntArray.
NumBitsNeeded
(hotFeatureStarts[hotFeatureStarts.Length - 1] + 1);
1207
var numBitsNeeded = IntArray.
NumBitsNeeded
(binUpperBounds.Length);
1254
bins = IntArray.New(values.Length, arrayType, IntArray.
NumBitsNeeded
(binUpperBounds.Length), binnedValues);
1953
IntArrayBits flockBits = IntArray.
NumBitsNeeded
(hotFeatureStarts[hotFeatureStarts.Length - 1] + 1);
2257
IntArrayBits newBits = IntArray.
NumBitsNeeded
(countBins);
2558
IntArrayBits numBitsNeeded = IntArray.
NumBitsNeeded
(binUpperBounds.Length);
SumupPerformanceCommand.cs (1)
157
IntArrayBits bits = IntArray.
NumBitsNeeded
(_bins);