2 writes to PerClassLogLoss
Microsoft.ML.Data (2)
Evaluators\Metrics\MulticlassClassificationMetrics.cs (2)
131PerClassLogLoss = perClassLogLoss.DenseValues().ToImmutableArray(); 144PerClassLogLoss = perClassLogLoss.ToImmutableArray();
19 references to PerClassLogLoss
Microsoft.ML.AutoML (1)
Experiment\Runners\CrossValSummaryRunner.cs (1)
127perClassLogLoss: (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)
95Assert.Equal(3, metrics.PerClassLogLoss.Count); 96Assert.Equal(0d, metrics.PerClassLogLoss[0], 0.1); 97Assert.Equal(.1, metrics.PerClassLogLoss[1], 0.1); 98Assert.Equal(.1, metrics.PerClassLogLoss[2], 0.1);
Scenarios\IrisPlantClassificationWithStringLabelTests.cs (4)
98Assert.Equal(3, metrics.PerClassLogLoss.Count); 99Assert.Equal(0d, metrics.PerClassLogLoss[0], 0.1); 100Assert.Equal(.1, metrics.PerClassLogLoss[1], 0.1); 101Assert.Equal(.1, metrics.PerClassLogLoss[2], 0.1);
ScenariosWithDirectInstantiation\IrisPlantClassificationTests.cs (4)
100Assert.Equal(3, metrics.PerClassLogLoss.Count); 101Assert.Equal(0d, metrics.PerClassLogLoss[0], 0.1); 102Assert.Equal(.1, metrics.PerClassLogLoss[1], 0.1); 103Assert.Equal(.1, metrics.PerClassLogLoss[2], 0.1);
Microsoft.ML.Transforms (5)
MetricStatistics.cs (3)
245/// Summary statistics for <see cref="MulticlassClassificationMetrics.PerClassLogLoss"/>. 271PerClassLogLoss = MetricsStatisticsUtils.InitializeArray(metrics.PerClassLogLoss.Count); 272MetricsStatisticsUtils.AddToEach(metrics.PerClassLogLoss, PerClassLogLoss);
PermutationFeatureImportanceExtensions.cs (2)
471var perClassLogLoss = ComputeSequenceDeltas(a.PerClassLogLoss, b.PerClassLogLoss);