public abstract class GDBBinaryClassifierTrainer extends GDBTrainer
GDBTrainer.GDBModel
DatasetTrainer.EmptyDatasetException
checkConvergenceStgyFactory, loss
envBuilder, environment
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,
Preprocessor<K,V> preprocessor)
Defines unique labels in dataset if need (useful in case of classification).
|
GDBBinaryClassifierOnTreesTrainer |
withEnvironmentBuilder(LearningEnvironmentBuilder envBuilder)
Changes learning Environment.
|
buildBaseModelTrainer, computeInitialValue, fitWithInitializedDeployingContext, getLearningStrategy, isUpdateable, updateModel, withCheckConvergenceStgyFactory
fit, fit, fit, fit, fit, fit, getLastTrainedModelOrThrowEmptyDatasetException, identityTrainer, learningEnvironment, update, update, update, update, update, withConvertedLabels
public GDBBinaryClassifierTrainer(double gradStepSize, Integer cntOfIterations)
gradStepSize
- Grad step size.cntOfIterations
- Count of learning iterations.protected <V,K> boolean learnLabels(DatasetBuilder<K,V> builder, Preprocessor<K,V> preprocessor)
learnLabels
in class GDBTrainer
builder
- Dataset builder.preprocessor
- Upstream preprocessor.protected double externalLabelToInternal(double x)
externalLabelToInternal
in class GDBTrainer
x
- Label value.protected double internalLabelToExternal(double indent)
internalLabelToExternal
in class GDBTrainer
indent
- Label value.public GDBBinaryClassifierOnTreesTrainer withEnvironmentBuilder(LearningEnvironmentBuilder envBuilder)
withEnvironmentBuilder
in class GDBTrainer
envBuilder
- Learning environment builder.
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024