Class TrainerFactory

  • public class TrainerFactory
    extends java.lang.Object
    • Constructor Detail

      • TrainerFactory

        public TrainerFactory()
    • Method Detail

      • getTrainerType

        public static TrainerFactory.TrainerType getTrainerType​(TrainingParameters trainParams)
        Determines the trainer type based on the ALGORITHM_PARAM value.
        trainParams - - Map of training parameters
        the trainer type or null if type couldn't be determined.
      • getSequenceModelTrainer

        public static SequenceTrainer getSequenceModelTrainer​(TrainingParameters trainParams,
                                                              java.util.Map<java.lang.String,​java.lang.String> reportMap)
      • getEventTrainer

        public static EventTrainer getEventTrainer​(TrainingParameters trainParams,
                                                   java.util.Map<java.lang.String,​java.lang.String> reportMap)