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.
        Parameters:
        trainParams - - Map of training parameters
        Returns:
        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)