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(Map<String,String> trainParams,
Map<String,String> reportMap) |
static EventTrainer |
getEventTrainer(Map<String,String> trainParams,
Map<String,String> reportMap) |
static SequenceTrainer |
getSequenceModelTrainer(Map<String,String> trainParams,
Map<String,String> reportMap) |
static TrainerFactory.TrainerType |
getTrainerType(Map<String,String> trainParams)
Determines the trainer type based on the ALGORITHM_PARAM value.
|
static boolean |
isValid(Map<String,String> trainParams) |
public static TrainerFactory.TrainerType getTrainerType(Map<String,String> trainParams)
trainParams
- - Map of training parameterspublic static SequenceTrainer getSequenceModelTrainer(Map<String,String> trainParams, Map<String,String> reportMap)
public static EventModelSequenceTrainer getEventModelSequenceTrainer(Map<String,String> trainParams, Map<String,String> reportMap)
public static EventTrainer getEventTrainer(Map<String,String> trainParams, Map<String,String> reportMap)
Copyright © 2017 The Apache Software Foundation. All rights reserved.