3 writes to CountBins
Microsoft.ML.Core (3)
Utilities\BinFinder.cs (3)
37
CountBins
= cbin;
115
CountBins
= cbin;
191
CountBins
= cbin;
30 references to CountBins
Microsoft.ML.Core (30)
Utilities\BinFinder.cs (30)
38
if (Utils.Size(_path) <
CountBins
+ 1)
40
_path = new int[
CountBins
+ 1];
79
if (CountValues <=
CountBins
)
89
Contracts.Assert(_path[
CountBins
] == CountValues);
90
bounds = new Single[
CountBins
];
116
if (Utils.Size(_path) <
CountBins
+ 1)
118
_path = new int[
CountBins
+ 1];
157
if (CountValues <=
CountBins
)
167
Contracts.Assert(_path[
CountBins
] == CountValues);
168
bounds = new Double[
CountBins
];
204
Contracts.Assert(path[
CountBins
] == CountValues);
331
Contracts.Assert(CountValues >
CountBins
);
333
Contracts.Assert(path.Length >=
CountBins
+ 1);
341
_meanBinSize = (float)_accum[CountValues] /
CountBins
;
360
for (int i = 1; i <
CountBins
; i++)
370
_path[
CountBins
] = CountValues;
372
Array.Sort(_path, 0,
CountBins
+ 1);
374
Contracts.Assert(_path[
CountBins
] == CountValues);
466
var pegs = new Peg[
CountBins
+ 1];
468
for (int i = 1; i <
CountBins
; i++)
500
if (peg.Index <
CountBins
- 1)
568
Contracts.Assert(
CountBins
>= 2);
569
Contracts.Assert(CountValues >
CountBins
);
571
Contracts.Assert(path.Length >=
CountBins
+ 1);
581
_cskip = CountValues -
CountBins
;
583
int height =
CountBins
- 1;
694
_path[
CountBins
] = CountValues;
695
Contracts.Assert(height ==
CountBins
- 1);
730
Contracts.Assert(0 <= row && row <
CountBins
- 1);
737
int cbin =
CountBins
- row - 1;