ScenariosWithDirectInstantiation\IrisPlantClassificationTests.cs (9)
64Assert.Equal(1d, prediction.PredictedLabels[0], 0.01);
65Assert.Equal(0d, prediction.PredictedLabels[1], 0.01);
66Assert.Equal(0d, prediction.PredictedLabels[2], 0.01);
76Assert.Equal(0d, prediction.PredictedLabels[0], 0.01);
77Assert.Equal(0d, prediction.PredictedLabels[1], 0.01);
78Assert.Equal(1d, prediction.PredictedLabels[2], 0.01);
88Assert.Equal(.2, prediction.PredictedLabels[0], 0.1);
89Assert.Equal(.8, prediction.PredictedLabels[1], 0.1);
90Assert.Equal(0d, prediction.PredictedLabels[2], 0.01);