public ClassificationProblem createClassificationProblem(Instances wekaDataset) {
try {
// Convert Weka data set to HashMap
HashMap<double[], String> classificationMap = makeMapOutOfInstances(wekaDataset);
return new ClassificationProblem("Iris", classificationMap);
} catch (Exception ex) {
Logger.getLogger(WekaClassifierEvaluation.class.getName()).log(Level.SEVERE, null, ex);
}
return null;
}