1 write to Counts
Microsoft.ML.Data (1)
Evaluators\Metrics\ConfusionMatrix.cs (1)
93
Counts
= counts.AsReadOnly();
7 references to Counts
Microsoft.ML.Data (6)
Evaluators\EvaluatorUtils.cs (3)
1594
int numLabels = confusionMatrix?.
Counts
== null ? 0 : confusionMatrix.
Counts
.Count;
1629
var confusionTable = confusionMatrix.
Counts
;
Evaluators\Metrics\ConfusionMatrix.cs (3)
116
_host.CheckParam(predictedClassIndicatorIndex > -1 && predictedClassIndicatorIndex <
Counts
.Count,
118
_host.CheckParam(actualClassIndicatorIndex > -1 && actualClassIndicatorIndex <
Counts
.Count,
121
return
Counts
[actualClassIndicatorIndex][predictedClassIndicatorIndex];
Microsoft.ML.IntegrationTests (1)
Common.cs (1)
241
Assert.NotEmpty(confusionMatrix.
Counts
);