1 type derived from SufficientStatsBase
Microsoft.ML.FastTree (1)
Dataset\FeatureFlock.cs (1)
933
internal abstract class SufficientStatsBase<TSuffStats> :
SufficientStatsBase
26 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
146
public void Subtract(
SufficientStatsBase
other)
160
protected abstract void SubtractCore(
SufficientStatsBase
other);
941
protected sealed override void SubtractCore(
SufficientStatsBase
other)
1009
internal abstract
SufficientStatsBase
CreateSufficientStats(bool hasWeights);
1211
internal override
SufficientStatsBase
CreateSufficientStats(bool hasWeights)
Dataset\SingletonFeatureFlock.cs (1)
38
internal override
SufficientStatsBase
CreateSufficientStats(bool hasWeights)
GamTrainer.cs (2)
149
private
SufficientStatsBase
[] _histogram;
585
_histogram = new
SufficientStatsBase
[TrainSet.Flocks.Length];
Training\Parallel\IParallelTraining.cs (1)
92
void CacheHistogram(bool isSmallerLeaf, int featureIdx, int subfeature,
SufficientStatsBase
sufficientStatsBase, bool hasWeights);
Training\Parallel\SingleTrainer.cs (1)
24
void IParallelTraining.CacheHistogram(bool isSmallerLeaf, int featureIdx, int subfeature,
SufficientStatsBase
sufficientStatsBase, bool hasWeights)
Training\TreeLearners\LeastSquaresRegressionTreeLearner.cs (13)
55
protected readonly MappedObjectPool<
SufficientStatsBase
[]> HistogramArrayPool;
56
protected
SufficientStatsBase
[] ParentHistogramArray;
57
protected
SufficientStatsBase
[] SmallerChildHistogramArray;
58
protected
SufficientStatsBase
[] LargerChildHistogramArray;
149
SufficientStatsBase
[][] histogramPool = new
SufficientStatsBase
[histogramPoolSize][];
152
histogramPool[i] = new
SufficientStatsBase
[TrainData.NumFlocks];
156
var
ss = histogramPool[i][j] = TrainData.Flocks[j].CreateSufficientStats(HasWeights);
166
HistogramArrayPool = new MappedObjectPool<
SufficientStatsBase
[]>(histogramPool, numLeaves - 1);
526
var
smallStats = SmallerChildHistogramArray[flock];
548
var
largeStats = LargerChildHistogramArray[flock];
561
private void Sumup(
SufficientStatsBase
stats, int featureMin, LeafSplitCandidates candidates)
655
protected virtual void FindBestThresholdFromHistogram(
SufficientStatsBase
histogram,
Microsoft.ML.Predictor.Tests (1)
TestParallelFasttreeInterface.cs (1)
28
public void CacheHistogram(bool isSmallerLeaf, int featureIdx, int subfeature,
SufficientStatsBase
sufficientStatsBase, bool hasWeights)