Pair<List<Double>, List<Double>> io = n.numerize(first);
Assert.assertEquals(Arrays.asList(6.4, 3.2, 4.5, 1.5), io.getFirst());
Assert.assertEquals(Arrays.asList(0.0, 1.0, 0.0), io.getSecond());
String plant_category = n.denumerize(Arrays.asList(0.0, 1.0, 0.0));
Assert.assertEquals("versicolor", plant_category);
}
@Test
public void testNumerizesAndDeNumerizesIrisDataSetExample3()