if (isPartial) {
log.info("Partial Mapred implementation");
forestBuilder = new PartialBuilder(treeBuilder, dataPath, datasetPath, seed, getConf());
} else {
log.info("InMem Mapred implementation");
forestBuilder = new InMemBuilder(treeBuilder, dataPath, datasetPath, seed, getConf());
}
log.info("Building the forest...");
long time = System.currentTimeMillis();
DecisionForest forest = forestBuilder.build(nbTrees, callback);