static Logger log = Logger.getLogger(PredictiveModelFactory.class.getName());
protected static PredictiveModel getPredictiveModel(ModelTypes implementation) throws Exception {
if(implementation.equals(ModelTypes.PMML)) {
PredictiveModel pmmlModel = new PmmlPredictiveModel();
return pmmlModel;
}
// TODO Activate as soon as native R is stable
// else if(implementation.equals(ModelTypes.NativeR)) {