1 write to _accum
Microsoft.ML.Core (1)
Utilities\BinFinder.cs (1)
338
_accum
= new int[CountValues + 1];
12 references to _accum
Microsoft.ML.Core (12)
Utilities\BinFinder.cs (12)
337
if (Utils.Size(
_accum
) < CountValues + 1)
340
_accum
[i + 1] =
_accum
[i] + counts[i];
341
_meanBinSize = (float)
_accum
[CountValues] / CountBins;
392
int key = (int)((uint)(
_accum
[min] +
_accum
[max]) / 2);
393
int split = Utils.FindIndexSorted(
_accum
, min, max, key);
435
int a =
_accum
[min];
436
int b =
_accum
[split];
437
int c =
_accum
[max];
454
return Math.Abs(
_accum
[i] - ideal) < Math.Abs(
_accum
[j] - ideal);