Example #1
0
 private static TrainingParameters create(ModelType type, int cutoff, int iterations) {
   TrainingParameters params = ModelUtil.createTrainingParameters(iterations, cutoff);
   params.put(TrainingParameters.ALGORITHM_PARAM, type.toString());
   return params;
 }