public abstract class AbstractTrainer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ALGORITHM_PARAM |
static int |
CUTOFF_DEFAULT |
static java.lang.String |
CUTOFF_PARAM |
static int |
ITERATIONS_DEFAULT |
static java.lang.String |
ITERATIONS_PARAM |
static java.lang.String |
TRAINER_TYPE_PARAM |
static boolean |
VERBOSE_DEFAULT |
static java.lang.String |
VERBOSE_PARAM |
Constructor and Description |
---|
AbstractTrainer() |
AbstractTrainer(TrainingParameters parameters) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlgorithm() |
int |
getCutoff() |
int |
getIterations() |
void |
init(java.util.Map<java.lang.String,java.lang.String> trainParams,
java.util.Map<java.lang.String,java.lang.String> reportMap)
Deprecated.
|
void |
init(TrainingParameters trainingParameters,
java.util.Map<java.lang.String,java.lang.String> reportMap) |
boolean |
isValid()
Deprecated.
Use
validate() instead. |
void |
validate()
Check parameters.
|
public static final java.lang.String ALGORITHM_PARAM
public static final java.lang.String TRAINER_TYPE_PARAM
public static final java.lang.String CUTOFF_PARAM
public static final int CUTOFF_DEFAULT
public static final java.lang.String ITERATIONS_PARAM
public static final int ITERATIONS_DEFAULT
public static final java.lang.String VERBOSE_PARAM
public static final boolean VERBOSE_DEFAULT
public AbstractTrainer()
public AbstractTrainer(TrainingParameters parameters)
public void init(TrainingParameters trainingParameters, java.util.Map<java.lang.String,java.lang.String> reportMap)
@Deprecated public void init(java.util.Map<java.lang.String,java.lang.String> trainParams, java.util.Map<java.lang.String,java.lang.String> reportMap)
public java.lang.String getAlgorithm()
public int getCutoff()
public int getIterations()
public void validate()
java.lang.IllegalArgumentException
@Deprecated public boolean isValid()
validate()
instead.Copyright © 2010 - 2023 Adobe. All Rights Reserved