String type = clusterer_conf.has("type") ? clusterer_conf.getString("type") : "binning";
if ("knn".equals(type)) {
clusterer = new kNNClusterer();
} else {
clusterer = new BinningClusterer();
}
clusterer.initializeFromJSON(project, clusterer_conf);
clusterer.computeClusters(engine);