evaluationMetric = getEvaluationMetric(trainingConfig.evaluationMetric);
createLearner();
Timer timer = new Timer();
timer.start();
Ensemble ensemble = topLearner.learn(trainSet, validSet);
System.out.println("Time taken to build model: " + (timer.getElapsedMillis() / 1000.0) + " seconds.");
return ensemble;
} catch (Exception e) {
e.printStackTrace();
}