3 instantiations of FeatureHistogram
Microsoft.ML.FastTree (3)
Dataset\FeatureFlock.cs (1)
1238Hist = new FeatureHistogram(_flock.Bins, _flock.HotFeatureStarts[_flock.Count], hasWeights);
Dataset\SingletonFeatureFlock.cs (1)
117_hist = new FeatureHistogram(_flock._bins, _flock._binUpperBounds.Length, hasWeights);
SumupPerformanceCommand.cs (1)
273arrays.Select(bins => new FeatureHistogram(bins, _bins, false)).ToArray(arrays.Length);
32 references to FeatureHistogram
Microsoft.ML.FastTree (32)
Dataset\DenseIntArray.cs (12)
87protected static unsafe void SumupCPlusPlusDense(SumupInputData input, FeatureHistogram histogram, 192public override void Sumup(SumupInputData input, FeatureHistogram histogram) 308private void SumupRoot(FeatureHistogram histogram, FloatType[] outputs, double[] weights) 323public override unsafe void Sumup(SumupInputData input, FeatureHistogram histogram) 449private void SumupNative(SumupInputData input, FeatureHistogram histogram) 460public override void Sumup(SumupInputData input, FeatureHistogram histogram) => SumupHandler(input, histogram); 572public void SumupNative(SumupInputData input, FeatureHistogram histogram) 583public override void Sumup(SumupInputData input, FeatureHistogram histogram) => SumupHandler(input, histogram); 659public void SumupNative(SumupInputData input, FeatureHistogram histogram) 671public override void Sumup(SumupInputData input, FeatureHistogram histogram) => SumupHandler(input, histogram); 748public void SumupNative(SumupInputData input, FeatureHistogram histogram) 760public override void Sumup(SumupInputData input, FeatureHistogram histogram) => SumupHandler(input, histogram);
Dataset\FeatureFlock.cs (2)
1229public readonly FeatureHistogram Hist; 1271return FeatureHistogram.EstimateMemoryUsedForFeatureHistogram(Hist.NumFeatureValues,
Dataset\FeatureHistogram.cs (1)
71public unsafe void Subtract(FeatureHistogram child)
Dataset\IntArray.cs (3)
210protected delegate void PerformSumup(SumupInputData input, FeatureHistogram histogram); 219public virtual void Sumup(SumupInputData input, FeatureHistogram histogram) 243private void SumupWeighted(SumupInputData input, FeatureHistogram histogram)
Dataset\RepeatIntArray.cs (3)
205public override void Sumup(SumupInputData input, FeatureHistogram histogram) 220private unsafe void SumupRoot(SumupInputData input, FeatureHistogram histogram) 252private unsafe void SumupLeaf(SumupInputData input, FeatureHistogram histogram)
Dataset\SegmentIntArray.cs (2)
550public unsafe void SumupCPlusPlus(SumupInputData input, FeatureHistogram histogram) 592public override void Sumup(SumupInputData input, FeatureHistogram histogram)
Dataset\SingletonFeatureFlock.cs (2)
105private readonly FeatureHistogram _hist; 138return FeatureHistogram.EstimateMemoryUsedForFeatureHistogram(_hist.NumFeatureValues,
Dataset\SparseIntArray.cs (6)
277private void SumupRoot(SumupInputData input, FeatureHistogram histogram) 304private void SumupRootWeighted(SumupInputData input, FeatureHistogram histogram) 336private unsafe void SumupLeaf(SumupInputData input, FeatureHistogram histogram) 396private unsafe void SumupLeafWeighted(SumupInputData input, FeatureHistogram histogram) 458public override void Sumup(SumupInputData input, FeatureHistogram histogram) 501private unsafe void SumupCPlusPlusSparse(SumupInputData input, FeatureHistogram histogram, byte* pValues, byte* pDeltas, int numDeltas, IntArrayBits bitsPerItem)
SumupPerformanceCommand.cs (1)
272FeatureHistogram[] histograms =