2 writes to PerClassLogLoss
Microsoft.ML.Data (2)
Evaluators\Metrics\MulticlassClassificationMetrics.cs (2)
131
PerClassLogLoss
= perClassLogLoss.DenseValues().ToImmutableArray();
144
PerClassLogLoss
= perClassLogLoss.ToImmutableArray();
19 references to PerClassLogLoss
Microsoft.ML.AutoML (1)
Experiment\Runners\CrossValSummaryRunner.cs (1)
127
perClassLogLoss: (metricsClosestToAvg as MulticlassClassificationMetrics).
PerClassLogLoss
.ToArray(),
Microsoft.ML.Samples (1)
Dynamic\Trainers\MulticlassClassification\LogLossPerClass.cs (1)
56
$"{originalLabels[i]}: {metrics.
PerClassLogLoss
[i]:F4}");
Microsoft.ML.Tests (12)
Scenarios\IrisPlantClassificationTests.cs (4)
95
Assert.Equal(3, metrics.
PerClassLogLoss
.Count);
96
Assert.Equal(0d, metrics.
PerClassLogLoss
[0], 0.1);
97
Assert.Equal(.1, metrics.
PerClassLogLoss
[1], 0.1);
98
Assert.Equal(.1, metrics.
PerClassLogLoss
[2], 0.1);
Scenarios\IrisPlantClassificationWithStringLabelTests.cs (4)
98
Assert.Equal(3, metrics.
PerClassLogLoss
.Count);
99
Assert.Equal(0d, metrics.
PerClassLogLoss
[0], 0.1);
100
Assert.Equal(.1, metrics.
PerClassLogLoss
[1], 0.1);
101
Assert.Equal(.1, metrics.
PerClassLogLoss
[2], 0.1);
ScenariosWithDirectInstantiation\IrisPlantClassificationTests.cs (4)
100
Assert.Equal(3, metrics.
PerClassLogLoss
.Count);
101
Assert.Equal(0d, metrics.
PerClassLogLoss
[0], 0.1);
102
Assert.Equal(.1, metrics.
PerClassLogLoss
[1], 0.1);
103
Assert.Equal(.1, metrics.
PerClassLogLoss
[2], 0.1);
Microsoft.ML.Transforms (5)
MetricStatistics.cs (3)
245
/// Summary statistics for <see cref="MulticlassClassificationMetrics.
PerClassLogLoss
"/>.
271
PerClassLogLoss = MetricsStatisticsUtils.InitializeArray(metrics.
PerClassLogLoss
.Count);
272
MetricsStatisticsUtils.AddToEach(metrics.
PerClassLogLoss
, PerClassLogLoss);
PermutationFeatureImportanceExtensions.cs (2)
471
var perClassLogLoss = ComputeSequenceDeltas(a.
PerClassLogLoss
, b.
PerClassLogLoss
);