1 write to _flocks
Microsoft.ML.FastTree (1)
Dataset\Dataset.cs (1)
52
_flocks
= flocks;
17 references to _flocks
Microsoft.ML.FastTree (17)
Dataset\Dataset.cs (17)
54
_flockToFirstFeature = new int[
_flocks
.Length];
55
if (
_flocks
.Length > 0)
57
for (int i = 1; i <
_flocks
.Length; ++i)
59
Contracts.AssertValue(
_flocks
[i - 1]);
60
_flockToFirstFeature[i] = _flockToFirstFeature[i - 1] +
_flocks
[i - 1].Count;
62
var lastFlock =
_flocks
[
_flocks
.Length - 1];
65
Contracts.Assert(numFeatures ==
_flocks
.Sum(f => f.Count));
70
int lim = min +
_flocks
[flock].Count;
92
Contracts.Assert(0 <= subfeature && subfeature <
_flocks
[flock].Count);
216
return _datasetSkeleton.SizeInBytes() +
_flocks
.Sum(x => (long)x.SizeInBytes());
226
get { return
_flocks
; }
234
get { return
_flocks
.Length; }
251
return
_flocks
[flock].GetIndexer(subfeature);
963
_flockIndexers = _dataset.
_flocks
.Select(d => d.GetFlockIndexer()).ToArray(_dataset.NumFlocks);
970
var flock = _dataset.
_flocks
[iflock];
983
Enumerable.Range(_dataset._flockToFirstFeature[f], _dataset.
_flocks
[f].Count).Any(i => active[i]) ==