1 write to HotFeatureStarts
Microsoft.ML.FastTree (1)
Dataset\FeatureFlock.cs (1)
1178
HotFeatureStarts
= hotFeatureStarts;
19 references to HotFeatureStarts
Microsoft.ML.FastTree (19)
Dataset\FeatureFlock.cs (10)
1183
Contracts.Assert(AllBinUpperBounds.Select((b, f) =>
HotFeatureStarts
[f + 1] -
HotFeatureStarts
[f] + 1 == b.Length).All(i => i));
1207
+ sizeof(double) * (AllBinUpperBounds.Length - 1 +
HotFeatureStarts
[
HotFeatureStarts
.Length - 1])
1208
+ sizeof(int) *
HotFeatureStarts
.Length;
1219
/// to what feature can be inferred by <see cref="
HotFeatureStarts
"/>.
1227
/// what actual logical feature depends on <see cref="
HotFeatureStarts
"/>.
1238
Hist = new FeatureHistogram(_flock.Bins, _flock.
HotFeatureStarts
[_flock.Count], hasWeights);
1277
return _flock.
HotFeatureStarts
[featureIndex + 1] - 1;
1282
return _flock.
HotFeatureStarts
[featureIndex];
Dataset\NHotFeatureFlock.cs (2)
82
int min = _flock.
HotFeatureStarts
[featureIndex];
83
int lim = _flock.
HotFeatureStarts
[featureIndex + 1];
Dataset\OneHotFeatureFlock.cs (7)
25
.Select(bins => new OneHotFeatureFlock(bins,
HotFeatureStarts
, AllBinUpperBounds, false))
32
if (
HotFeatureStarts
[featureIndex] ==
HotFeatureStarts
[featureIndex + 1])
34
return new Indexer(Bins.GetIndexer(),
HotFeatureStarts
[featureIndex],
35
HotFeatureStarts
[featureIndex + 1]);
93
int min = _flock.
HotFeatureStarts
[featureIndex];
94
if (min <= val && val < _flock.
HotFeatureStarts
[featureIndex + 1])