2 writes to _labelCardinality
Microsoft.ML.Core (2)
Utilities\SupervisedBinFinder.cs (2)
66_labelCardinality = nLabels; 144_labelCardinality = nLabels;
10 references to _labelCardinality
Microsoft.ML.Core (10)
Utilities\SupervisedBinFinder.cs (10)
82_cumulativeCounts = new int[_distinctValueCount, _labelCardinality + 1]; 96for (int i = 0; i < _labelCardinality + 1; i++) 101_cumulativeCounts[curIndex, _labelCardinality]++; 160_cumulativeCounts = new int[_distinctValueCount, _labelCardinality + 1]; 174for (int i = 0; i < _labelCardinality + 1; i++) 179_cumulativeCounts[curIndex, _labelCardinality]++; 263var delta = logN - binFinder._labelCardinality * (totalEntropy - leftEntropy - rightEntropy); 284totalCount = _cumulativeCounts[lim - 1, _labelCardinality]; 286totalCount -= _cumulativeCounts[min - 1, _labelCardinality]; 287for (int i = 0; i < _labelCardinality; i++)