Scenarios\IrisPlantClassificationWithStringLabelTests.cs (9)
57Assert.Equal(1d, prediction.PredictedScores[0], 0.01);
58Assert.Equal(0d, prediction.PredictedScores[1], 0.01);
59Assert.Equal(0d, prediction.PredictedScores[2], 0.01);
70Assert.Equal(0d, prediction.PredictedScores[0], 0.01);
71Assert.Equal(0d, prediction.PredictedScores[1], 0.01);
72Assert.Equal(1d, prediction.PredictedScores[2], 0.01);
83Assert.Equal(.2, prediction.PredictedScores[0], 0.1);
84Assert.Equal(.8, prediction.PredictedScores[1], 0.1);
85Assert.Equal(0d, prediction.PredictedScores[2], 0.01);