2 writes to ConfusionMatrix
Microsoft.ML.Data (2)
Evaluators\Metrics\MulticlassClassificationMetrics.cs (2)
132
ConfusionMatrix
= MetricWriter.GetConfusionMatrix(host, confusionMatrix, binary: false, perClassLogLoss.Length);
151
ConfusionMatrix
= confusionMatrix;
20 references to ConfusionMatrix
Microsoft.ML.AutoML (1)
Experiment\Runners\CrossValSummaryRunner.cs (1)
128
confusionMatrix: (metricsClosestToAvg as MulticlassClassificationMetrics).
ConfusionMatrix
);
Microsoft.ML.IntegrationTests (2)
Common.cs (2)
232
Assert.NotNull(metrics.
ConfusionMatrix
);
233
AssertConfusionMatrix(metrics.
ConfusionMatrix
);
Microsoft.ML.Samples (11)
Dynamic\Trainers\MulticlassClassification\LbfgsMaximumEntropy.cs (1)
138
Console.WriteLine(metrics.
ConfusionMatrix
.GetFormattedConfusionTable());
Dynamic\Trainers\MulticlassClassification\LbfgsMaximumEntropyWithOptions.cs (1)
146
Console.WriteLine(metrics.
ConfusionMatrix
.GetFormattedConfusionTable());
Dynamic\Trainers\MulticlassClassification\LightGbm.cs (1)
141
Console.WriteLine(metrics.
ConfusionMatrix
.GetFormattedConfusionTable());
Dynamic\Trainers\MulticlassClassification\LightGbmWithOptions.cs (1)
151
Console.WriteLine(metrics.
ConfusionMatrix
.GetFormattedConfusionTable());
Dynamic\Trainers\MulticlassClassification\NaiveBayes.cs (1)
146
Console.WriteLine(metrics.
ConfusionMatrix
.GetFormattedConfusionTable());
Dynamic\Trainers\MulticlassClassification\OneVersusAll.cs (1)
139
Console.WriteLine(metrics.
ConfusionMatrix
.GetFormattedConfusionTable());
Dynamic\Trainers\MulticlassClassification\PairwiseCoupling.cs (1)
139
Console.WriteLine(metrics.
ConfusionMatrix
.GetFormattedConfusionTable());
Dynamic\Trainers\MulticlassClassification\SdcaMaximumEntropy.cs (1)
145
Console.WriteLine(metrics.
ConfusionMatrix
.GetFormattedConfusionTable());
Dynamic\Trainers\MulticlassClassification\SdcaMaximumEntropyWithOptions.cs (1)
155
Console.WriteLine(metrics.
ConfusionMatrix
.GetFormattedConfusionTable());
Dynamic\Trainers\MulticlassClassification\SdcaNonCalibrated.cs (1)
146
Console.WriteLine(metrics.
ConfusionMatrix
.GetFormattedConfusionTable());
Dynamic\Trainers\MulticlassClassification\SdcaNonCalibratedWithOptions.cs (1)
155
Console.WriteLine(metrics.
ConfusionMatrix
.GetFormattedConfusionTable());
Microsoft.ML.Tests (6)
Scenarios\Api\Estimators\PredictAndMetadata.cs (6)
95
Assert.Equal("Iris-setosa", metrics.
ConfusionMatrix
.PredictedClassesIndicators[0].ToString());
96
Assert.Equal("Iris-versicolor", metrics.
ConfusionMatrix
.PredictedClassesIndicators[1].ToString());
97
Assert.Equal("Iris-virginica", metrics.
ConfusionMatrix
.PredictedClassesIndicators[2].ToString());
129
Assert.Equal("0", metrics2.
ConfusionMatrix
.PredictedClassesIndicators[0].ToString());
130
Assert.Equal("1", metrics2.
ConfusionMatrix
.PredictedClassesIndicators[1].ToString());
131
Assert.Equal("2", metrics2.
ConfusionMatrix
.PredictedClassesIndicators[2].ToString());