363738394041424344
if (!isValid()) { throw new IllegalArgumentException("trainParams are not valid!"); } SequenceClassificationModel model = doTrain(events); addToReport(AbstractTrainer.TRAINER_TYPE_PARAM, SequenceTrainer.SEQUENCE_VALUE); return model; }