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 EventModelSequenceTrainer |
getSequenceTrainer(Map<String,String> trainParams,
Map<String,String> reportMap)
Deprecated.
|
static TrainerFactory.TrainerType |
getTrainerType(Map<String,String> trainParams)
Determines the trainer type based on the ALGORITHM_PARAM value.
|
static boolean |
isSequenceTraining(Map<String,String> trainParams)
Deprecated.
use getTrainerType instead!
|
static boolean |
isSupportEvent(Map<String,String> trainParams)
Deprecated.
use getTrainerType instead!
|
static boolean |
isSupportEventModelSequenceTraining(Map<String,String> trainParams)
Deprecated.
use getTrainerType instead!
|
static boolean |
isSupportSequence(Map<String,String> trainParams)
Deprecated.
use getTrainerType instead!
|
static boolean |
isSupportSequenceTraining(Map<String,String> trainParams)
Deprecated.
use getTrainerType instead!
|
static boolean |
isValid(Map<String,String> trainParams) |
public static TrainerFactory.TrainerType getTrainerType(Map<String,String> trainParams)
trainParams
- @Deprecated public static boolean isSupportEvent(Map<String,String> trainParams)
@Deprecated public static boolean isSupportSequence(Map<String,String> trainParams)
@Deprecated public static boolean isSupportEventModelSequenceTraining(Map<String,String> trainParams)
@Deprecated public static boolean isSupportSequenceTraining(Map<String,String> trainParams)
@Deprecated public static boolean isSequenceTraining(Map<String,String> trainParams)
public static SequenceTrainer getSequenceModelTrainer(Map<String,String> trainParams, Map<String,String> reportMap)
public static EventModelSequenceTrainer getEventModelSequenceTrainer(Map<String,String> trainParams, Map<String,String> reportMap)
@Deprecated public static EventModelSequenceTrainer getSequenceTrainer(Map<String,String> trainParams, Map<String,String> reportMap)
public static EventTrainer getEventTrainer(Map<String,String> trainParams, Map<String,String> reportMap)
Copyright © 2015 The Apache Software Foundation. All rights reserved.