@Test public void testToString() { int[] counts = { 0, 1, 3, 0, 4, 0 }; CategoricalPrediction prediction = new CategoricalPrediction(counts); assertEquals(":[0.0, 0.125, 0.375, 0.0, 0.5, 0.0]", prediction.toString()); }
@Test public void testToString() { int[] counts = { 0, 1, 3, 0, 4, 0 }; CategoricalPrediction prediction = new CategoricalPrediction(counts); assertEquals(":[0.0, 0.125, 0.375, 0.0, 0.5, 0.0]", prediction.toString()); }