2 writes to _labels
Microsoft.ML.Transforms (2)
MutualInformationFeatureSelection.cs (2)
558
_labels
= (VBuffer<int>)methodInfo.Invoke(this, parameters);
574
_labels
= labelsEditor.Commit();
6 references to _labels
Microsoft.ML.Transforms (6)
MutualInformationFeatureSelection.cs (6)
686
Contracts.Assert(
_labels
.Length == features.Length);
714
score += _contingencyTable[i][j] / (double)
_labels
.Length * Math.Log(_contingencyTable[i][j] * (double)
_labels
.Length / ((double)_labelSums[i] * _featureSums[j]), 2);
727
Contracts.Assert(
_labels
.IsDense);
728
Contracts.Assert(
_labels
.Length == features.Length);
730
var labelsValues =
_labels
.GetValues();