18 references to PredictedLabels
Microsoft.ML.Tests (18)
Scenarios\IrisPlantClassificationTests.cs (9)
58Assert.Equal(1d, prediction.PredictedLabels[0], 0.01); 59Assert.Equal(0d, prediction.PredictedLabels[1], 0.01); 60Assert.Equal(0d, prediction.PredictedLabels[2], 0.01); 70Assert.Equal(0d, prediction.PredictedLabels[0], 0.01); 71Assert.Equal(0d, prediction.PredictedLabels[1], 0.01); 72Assert.Equal(1d, prediction.PredictedLabels[2], 0.01); 82Assert.Equal(.2, prediction.PredictedLabels[0], 0.1); 83Assert.Equal(.8, prediction.PredictedLabels[1], 0.1); 84Assert.Equal(0d, prediction.PredictedLabels[2], 0.01);
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);