ds2.add(ds.getExample(2));
ds2.add(ds.getExample(3));
ds2.setSpecification(new MockDataSetSpecification("will_wait"));
learner.train(ds2);
Assert.assertEquals("Yes", learner.predict(ds.getExample(1)));
}
@Test
public void testInducedTreeClassifiesDataSetCorrectly() throws Exception {
DataSet ds = DataSetFactory.getRestaurantDataSet();