dataset.add(createInstance(dataset, "sunny", "true", 75, 70, "yes"));
dataset.add(createInstance(dataset, "overcast", "true", 72, 90, "yes"));
dataset.add(createInstance(dataset, "overcast", "false", 81, 75, "yes"));
dataset.add(createInstance(dataset, "rain", "true", 71, 91, "no"));
dataset.setClassIndex(4);
classifier.buildClassifier(dataset);
System.out.println(classifier);
double result = classifier.classifyInstance(createInstance(dataset, "sunny", "false", 85, 85, Null.getValue()));
assertEquals(1.0, result, .1);
result = classifier.classifyInstance(createInstance(dataset, "sunny", "true", 80, 90, Null.getValue()));