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)
695
Array.Clear(
_labelSums
, 0, _numLabels);
703
_labelSums
[i] += _contingencyTable[i][j];
714
score += _contingencyTable[i][j] / (double)_labels.Length * Math.Log(_contingencyTable[i][j] * (double)_labels.Length / ((double)
_labelSums
[i] * _featureSums[j]), 2);