1 write to _totalPerClassLogLoss
Microsoft.ML.Data (1)
Evaluators\MulticlassClassificationEvaluator.cs (1)
333
_totalPerClassLogLoss
= new double[numClasses];
4 references to _totalPerClassLogLoss
Microsoft.ML.Data (4)
Evaluators\MulticlassClassificationEvaluator.cs (4)
320
var res = new double[
_totalPerClassLogLoss
.Length];
321
for (int i = 0; i <
_totalPerClassLogLoss
.Length; i++)
322
res[i] = _sumWeightsOfClass[i] > 0 ?
_totalPerClassLogLoss
[i] / _sumWeightsOfClass[i] : 0;
351
_totalPerClassLogLoss
[label] += loglossCurr * weight;