public class TrainerFactory
extends java.lang.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,
java.util.Map<java.lang.String,java.lang.String> reportMap) |
static EventTrainer |
getEventTrainer(TrainingParameters trainParams,
java.util.Map<java.lang.String,java.lang.String> reportMap) |
static SequenceTrainer |
getSequenceModelTrainer(TrainingParameters trainParams,
java.util.Map<java.lang.String,java.lang.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, java.util.Map<java.lang.String,java.lang.String> reportMap)
public static EventModelSequenceTrainer getEventModelSequenceTrainer(TrainingParameters trainParams, java.util.Map<java.lang.String,java.lang.String> reportMap)
public static EventTrainer getEventTrainer(TrainingParameters trainParams, java.util.Map<java.lang.String,java.lang.String> reportMap)
public static boolean isValid(TrainingParameters trainParams)
Copyright © 2010 - 2023 Adobe. All Rights Reserved