2 writes to _cumulativeCounts
Microsoft.ML.Core (2)
Utilities\SupervisedBinFinder.cs (2)
82_cumulativeCounts = new int[_distinctValueCount, _labelCardinality + 1]; 160_cumulativeCounts = new int[_distinctValueCount, _labelCardinality + 1];
13 references to _cumulativeCounts
Microsoft.ML.Core (13)
Utilities\SupervisedBinFinder.cs (13)
97_cumulativeCounts[curIndex, i] = _cumulativeCounts[curIndex - 1, i]; 100_cumulativeCounts[curIndex, pair.Label]++; 101_cumulativeCounts[curIndex, _labelCardinality]++; 175_cumulativeCounts[curIndex, i] = _cumulativeCounts[curIndex - 1, i]; 178_cumulativeCounts[curIndex, pair.Label]++; 179_cumulativeCounts[curIndex, _labelCardinality]++; 284totalCount = _cumulativeCounts[lim - 1, _labelCardinality]; 286totalCount -= _cumulativeCounts[min - 1, _labelCardinality]; 289var count = _cumulativeCounts[lim - 1, i]; 291count -= _cumulativeCounts[min - 1, i]; 302/// Finds the optimum bins with respect to <see cref="_cumulativeCounts"/>