1 write to _labelSums
Microsoft.ML.Transforms (1)
MutualInformationFeatureSelection.cs (1)
496_labelSums = new int[_numLabels];
3 references to _labelSums
Microsoft.ML.Transforms (3)
MutualInformationFeatureSelection.cs (3)
695Array.Clear(_labelSums, 0, _numLabels); 703_labelSums[i] += _contingencyTable[i][j]; 714score += _contingencyTable[i][j] / (double)_labels.Length * Math.Log(_contingencyTable[i][j] * (double)_labels.Length / ((double)_labelSums[i] * _featureSums[j]), 2);