}
}
Data lessData = new Data(data.getDataset(), instances);
// build tree
DecisionTreeBuilder builder = new DecisionTreeBuilder();
builder.setM(data.getDataset().nbAttributes() - 1);
builder.setMinSplitNum(0);
builder.setComplemented(false);
Node tree = builder.build(rng, lessData);
String visualization = TreeVisualizer.toString(tree, data.getDataset(), ATTR_NAMES);
assertTrue(
("\noutlook = sunny\n" +
"| humidity < 77.5 : yes\n" +