int iterations = getIntParam(trainParams, ITERATIONS_PARAM, ITERATIONS_DEFAULT, reportMap);
int cutoff = getIntParam(trainParams, CUTOFF_PARAM, CUTOFF_DEFAULT, reportMap);
boolean useAverage = getBooleanParam(trainParams, "UseAverage", true, reportMap);
return new SimplePerceptronSequenceTrainer().trainModel(
iterations, events, cutoff,useAverage);
}