1 write to HotFeatureStarts
Microsoft.ML.FastTree (1)
Dataset\FeatureFlock.cs (1)
1178HotFeatureStarts = hotFeatureStarts;
19 references to HotFeatureStarts
Microsoft.ML.FastTree (19)
Dataset\FeatureFlock.cs (10)
1183Contracts.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"/>. 1238Hist = new FeatureHistogram(_flock.Bins, _flock.HotFeatureStarts[_flock.Count], hasWeights); 1277return _flock.HotFeatureStarts[featureIndex + 1] - 1; 1282return _flock.HotFeatureStarts[featureIndex];
Dataset\NHotFeatureFlock.cs (2)
82int min = _flock.HotFeatureStarts[featureIndex]; 83int lim = _flock.HotFeatureStarts[featureIndex + 1];
Dataset\OneHotFeatureFlock.cs (7)
25.Select(bins => new OneHotFeatureFlock(bins, HotFeatureStarts, AllBinUpperBounds, false)) 32if (HotFeatureStarts[featureIndex] == HotFeatureStarts[featureIndex + 1]) 34return new Indexer(Bins.GetIndexer(), HotFeatureStarts[featureIndex], 35HotFeatureStarts[featureIndex + 1]); 93int min = _flock.HotFeatureStarts[featureIndex]; 94if (min <= val && val < _flock.HotFeatureStarts[featureIndex + 1])