public class TrainerFactory extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TrainerFactory.TrainerType |
Constructor and Description |
---|
TrainerFactory() |
Modifier and Type | Method and Description |
---|---|
static EventModelSequenceTrainer |
getEventModelSequenceTrainer(TrainingParameters trainParams,
Map<String,String> reportMap) |
static EventTrainer |
getEventTrainer(TrainingParameters trainParams,
Map<String,String> reportMap) |
static SequenceTrainer |
getSequenceModelTrainer(TrainingParameters trainParams,
Map<String,String> reportMap) |
static TrainerFactory.TrainerType |
getTrainerType(TrainingParameters trainParams)
Determines the trainer type based on the ALGORITHM_PARAM value.
|
static boolean |
isValid(TrainingParameters trainParams) |
public static TrainerFactory.TrainerType getTrainerType(TrainingParameters trainParams)
trainParams
- - Map of training parameterspublic static SequenceTrainer getSequenceModelTrainer(TrainingParameters trainParams, Map<String,String> reportMap)
public static EventModelSequenceTrainer getEventModelSequenceTrainer(TrainingParameters trainParams, Map<String,String> reportMap)
public static EventTrainer getEventTrainer(TrainingParameters trainParams, Map<String,String> reportMap)
public static boolean isValid(TrainingParameters trainParams)
Copyright © 2018 The Apache Software Foundation. All rights reserved.