public abstract class GDBBinaryClassifierTrainer extends GDBTrainer
GDBTrainer.GDBModelDatasetTrainer.EmptyDatasetExceptioncheckConvergenceStgyFactory, lossenvironment| Constructor and Description |
|---|
GDBBinaryClassifierTrainer(double gradStepSize,
Integer cntOfIterations)
Constructs instance of GDBBinaryClassifierTrainer.
|
GDBBinaryClassifierTrainer(double gradStepSize,
Integer cntOfIterations,
Loss loss)
Constructs instance of GDBBinaryClassifierTrainer.
|
| Modifier and Type | Method and Description |
|---|---|
protected double |
externalLabelToInternal(double x)
Maps external representation of label to internal.
|
protected double |
internalLabelToExternal(double indent)
Maps internal representation of label to external.
|
protected <V,K> boolean |
learnLabels(DatasetBuilder<K,V> builder,
IgniteBiFunction<K,V,Vector> featureExtractor,
IgniteBiFunction<K,V,Double> lExtractor)
Defines unique labels in dataset if need (useful in case of classification).
|
buildBaseModelTrainer, checkState, computeInitialValue, fit, getLearningStrategy, updateModel, withCheckConvergenceStgyFactoryfit, fit, fit, fit, getLastTrainedModelOrThrowEmptyDatasetException, setEnvironment, update, update, update, update, updatepublic GDBBinaryClassifierTrainer(double gradStepSize,
Integer cntOfIterations)
gradStepSize - Grad step size.cntOfIterations - Count of learning iterations.protected <V,K> boolean learnLabels(DatasetBuilder<K,V> builder, IgniteBiFunction<K,V,Vector> featureExtractor, IgniteBiFunction<K,V,Double> lExtractor)
learnLabels in class GDBTrainerbuilder - Dataset builder.featureExtractor - Feature extractor.lExtractor - Labels extractor.protected double externalLabelToInternal(double x)
externalLabelToInternal in class GDBTrainerx - Label value.protected double internalLabelToExternal(double indent)
internalLabelToExternal in class GDBTrainerindent - Label value.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019