1 write to _featureSums
Microsoft.ML.Transforms (1)
MutualInformationFeatureSelection.cs (1)
691
Array.Resize(ref
_featureSums
, numFeatures);
3 references to _featureSums
Microsoft.ML.Transforms (3)
MutualInformationFeatureSelection.cs (3)
696
Array.Clear(
_featureSums
, 0, numFeatures);
704
_featureSums
[j] += _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);