public void simpleBmiTest() throws Exception {
Set<String> whiteList = new HashSet<>();
whiteList.add("weight");
whiteList.add("height");
final List<Instance<AttributesMap>> instances = TreeBuilderTestUtils.getInstances(10000);
final TreeBuilder tb = new TreeBuilder(new SplitDiffScorer()).splitPredictiveModel("gender", whiteList);
final RandomForestBuilder rfb = new RandomForestBuilder(tb);
final SplitOnAttributeClassifierBuilder cpmb = new SplitOnAttributeClassifierBuilder("gender", rfb, 10, 0.1, whiteList, 1);
final long startTime = System.currentTimeMillis();
final SplitOnAttributeClassifier splitOnAttributeClassifier = cpmb.buildPredictiveModel(instances);
final RandomForest randomForest = (RandomForest) splitOnAttributeClassifier.getDefaultPM();