3 writes to CountValues
Microsoft.ML.Core (3)
Utilities\BinFinder.cs (3)
78
CountValues
= _counts.Count;
156
CountValues
= _counts.Count;
190
CountValues
= numValues;
27 references to CountValues
Microsoft.ML.Core (27)
Utilities\BinFinder.cs (27)
79
if (
CountValues
<= CountBins)
81
bounds = new Single[
CountValues
];
89
Contracts.Assert(_path[CountBins] ==
CountValues
);
157
if (
CountValues
<= CountBins)
159
bounds = new Double[
CountValues
];
167
Contracts.Assert(_path[CountBins] ==
CountValues
);
204
Contracts.Assert(path[CountBins] ==
CountValues
);
331
Contracts.Assert(
CountValues
> CountBins);
332
Contracts.Assert(counts.Count ==
CountValues
);
337
if (Utils.Size(_accum) <
CountValues
+ 1)
338
_accum = new int[
CountValues
+ 1];
339
for (int i = 0; i <
CountValues
; i++)
341
_meanBinSize = (float)_accum[
CountValues
] / CountBins;
356
Segment seg = GetSegmentSplit(0,
CountValues
);
370
_path[CountBins] =
CountValues
;
374
Contracts.Assert(_path[CountBins] ==
CountValues
);
434
Contracts.Assert(0 <= min && min < split && split < max && max <=
CountValues
);
569
Contracts.Assert(
CountValues
> CountBins);
570
Contracts.Assert(counts.Count ==
CountValues
);
575
if (Utils.Size(_accum) <
CountValues
+ 1)
576
_accum = new int[
CountValues
+ 1];
577
for (int i = 0; i <
CountValues
; i++)
581
_cskip =
CountValues
- CountBins;
677
Contracts.Assert(height + width ==
CountValues
);
678
int total = _accum[
CountValues
];
694
_path[CountBins] =
CountValues
;
734
int span = _accum[
CountValues
] - _accum[row + 1 + col];