1 write to _scoresArr
Microsoft.ML.Data (1)
Evaluators\MulticlassClassificationEvaluator.cs (1)
404
_scoresArr
= new float[scoreVectorSize];
11 references to _scoresArr
Microsoft.ML.Data (11)
Evaluators\MulticlassClassificationEvaluator.cs (11)
418
Host.Assert(score.Type.GetVectorSize() ==
_scoresArr
.Length);
445
Host.Check(_scores.Length ==
_scoresArr
.Length);
452
_scores.CopyTo(
_scoresArr
);
470
if (intLabel <
_scoresArr
.Length)
474
float p = Math.Min(1, Math.Max(Epsilon,
_scoresArr
[intLabel]));
486
var correctProba = !wasKnownLabel ? 0 :
_scoresArr
[intLabel];
500
for (int i = 0; i <
_scoresArr
.Length; i++)
502
if (
_scoresArr
[i] > correctProba || (
_scoresArr
[i] == correctProba && i < intLabel))
506
if (
_scoresArr
[assigned] <
_scoresArr
[i])