4 writes to _distinctValueCount
Microsoft.ML.Core (4)
Utilities\SupervisedBinFinder.cs (4)
70
_distinctValueCount
= 0;
77
_distinctValueCount
++;
148
_distinctValueCount
= 0;
155
_distinctValueCount
++;
11 references to _distinctValueCount
Microsoft.ML.Core (11)
Utilities\SupervisedBinFinder.cs (11)
82
_cumulativeCounts = new int[
_distinctValueCount
, _labelCardinality + 1];
83
var distinctValues = new Single[
_distinctValueCount
];
104
Contracts.Assert(curIndex ==
_distinctValueCount
- 1);
109
Contracts.Assert(boundaries[boundaries.Length - 1] ==
_distinctValueCount
);
160
_cumulativeCounts = new int[
_distinctValueCount
, _labelCardinality + 1];
161
var distinctValues = new Double[
_distinctValueCount
];
182
Contracts.Assert(curIndex ==
_distinctValueCount
- 1);
187
Contracts.Assert(boundaries[boundaries.Length - 1] ==
_distinctValueCount
);
307
if (
_distinctValueCount
== 0)
308
return new int[] {
_distinctValueCount
};
314
intervals.Add(new SplitInterval(this, 0,
_distinctValueCount
, false));