183184185186187188189190191192193
if (data.getDataset().isNumerical(data.getDataset().getLabelId())) { // regression igSplit = new RegressionSplit(); } else { // classification igSplit = new OptIgSplit(); } } // find the best split Split best = null;
182183184185186187188189190191192
59606162636465
* IgSplit implementation */ private final IgSplit igSplit; public DefaultTreeBuilder() { igSplit = new OptIgSplit(); }