1 write to Score
Microsoft.ML.Tests (1)
TrainerEstimators\TreeEstimators.cs (1)
457dataList.Add(new GbmExample { Features = featureVector, Label = labels[i], Score = new float[_classNumber] });
10 references to Score
Microsoft.ML.Tests (10)
TrainerEstimators\TreeEstimators.cs (10)
564Assert.Equal(nativeResult0[j + i * _classNumber], mlnetPredictions[i].Score[j], 0.000001); 572Assert.Equal(prob / sum, mlnetPredictions[i].Score[j], 0.000001); 600Assert.Equal(nativeResult0[j + i * _classNumber], mlnetPredictions[i].Score[j], 0.000001); 608Assert.Equal(prob / sum, mlnetPredictions[i].Score[j], 0.000001); 642areEqual &= firstMlnetPredictions[i].Score[j].Equals(secondMlnetPredictions[i].Score[j]); 671Assert.Equal(nativeResult0[j + i * _classNumber], mlnetPredictions[i].Score[j], 0.000001); 677Assert.Equal(prob / sum, mlnetPredictions[i].Score[j], 0.000001); 700Assert.Equal(nativeResult0[j + i * _classNumber], mlnetPredictions[i].Score[j], 0.000001); 706Assert.Equal(prob / sum, mlnetPredictions[i].Score[j], 0.000001);