1 type derived from SufficientStatsBase
Microsoft.ML.FastTree (1)
Dataset\FeatureFlock.cs (1)
933internal abstract class SufficientStatsBase<TSuffStats> : SufficientStatsBase
25 references to SufficientStatsBase
Microsoft.ML.FastTree (25)
Dataset\FeatureFlock.cs (7)
22/// Holds statistics per bin value for a feature. These are yielded by <see cref="SufficientStatsBase.GetBinStats"/> 23/// to indicate after a <see cref="SufficientStatsBase.Sumup"/> call over a subset of the dataset. These statistics 146public void Subtract(SufficientStatsBase other) 160protected abstract void SubtractCore(SufficientStatsBase other); 941protected sealed override void SubtractCore(SufficientStatsBase other) 1009internal abstract SufficientStatsBase CreateSufficientStats(bool hasWeights); 1211internal override SufficientStatsBase CreateSufficientStats(bool hasWeights)
Dataset\SingletonFeatureFlock.cs (1)
38internal override SufficientStatsBase CreateSufficientStats(bool hasWeights)
GamTrainer.cs (2)
149private SufficientStatsBase[] _histogram; 585_histogram = new SufficientStatsBase[TrainSet.Flocks.Length];
Training\Parallel\IParallelTraining.cs (1)
92void CacheHistogram(bool isSmallerLeaf, int featureIdx, int subfeature, SufficientStatsBase sufficientStatsBase, bool hasWeights);
Training\Parallel\SingleTrainer.cs (1)
24void IParallelTraining.CacheHistogram(bool isSmallerLeaf, int featureIdx, int subfeature, SufficientStatsBase sufficientStatsBase, bool hasWeights)
Training\TreeLearners\LeastSquaresRegressionTreeLearner.cs (13)
55protected readonly MappedObjectPool<SufficientStatsBase[]> HistogramArrayPool; 56protected SufficientStatsBase[] ParentHistogramArray; 57protected SufficientStatsBase[] SmallerChildHistogramArray; 58protected SufficientStatsBase[] LargerChildHistogramArray; 149SufficientStatsBase[][] histogramPool = new SufficientStatsBase[histogramPoolSize][]; 152histogramPool[i] = new SufficientStatsBase[TrainData.NumFlocks]; 156var ss = histogramPool[i][j] = TrainData.Flocks[j].CreateSufficientStats(HasWeights); 166HistogramArrayPool = new MappedObjectPool<SufficientStatsBase[]>(histogramPool, numLeaves - 1); 526var smallStats = SmallerChildHistogramArray[flock]; 548var largeStats = LargerChildHistogramArray[flock]; 561private void Sumup(SufficientStatsBase stats, int featureMin, LeafSplitCandidates candidates) 655protected virtual void FindBestThresholdFromHistogram(SufficientStatsBase histogram,