org.encog.neural.freeform.training
public class FreeformResilientPropagation extends FreeformPropagationTraining implements Serializable
Modifier and Type | Field and Description |
---|---|
static int |
TEMP_GRADIENT
Temp value #0: the gradient.
|
static int |
TEMP_LAST_GRADIENT
Temp value #1: the last gradient.
|
static int |
TEMP_LAST_WEIGHT_DELTA
Temp value #3: the the last weight delta.
|
static int |
TEMP_UPDATE
Temp value #2: the update.
|
FLAT_SPOT_CONST
Constructor and Description |
---|
FreeformResilientPropagation(FreeformNetwork theNetwork,
MLDataSet theTraining)
Construct the RPROP trainer, Use default intiial update and max step.
|
FreeformResilientPropagation(FreeformNetwork theNetwork,
MLDataSet theTraining,
double initialUpdate,
double theMaxStep)
Construct the RPROP trainer.
|
Modifier and Type | Method and Description |
---|---|
protected void |
learnConnection(FreeformConnection connection)
Learn for a single connection.
|
TrainingContinuation |
pause()
Pause the training to continue later.
|
void |
resume(TrainingContinuation state)
Resume training.
|
canContinue, finishTraining, getBatchSize, getError, getImplementationType, getIteration, getMethod, getTraining, isFixFlatSopt, iteration, iteration, learn, processBatches, processPureBatch, setBatchSize, setError, setFixFlatSopt, setIteration
addStrategy, getStrategies, isTrainingDone, postIteration, preIteration, setTraining
public static final int TEMP_GRADIENT
public static final int TEMP_LAST_GRADIENT
public static final int TEMP_UPDATE
public static final int TEMP_LAST_WEIGHT_DELTA
public FreeformResilientPropagation(FreeformNetwork theNetwork, MLDataSet theTraining)
theNetwork
- The network to train.theTraining
- The training set.public FreeformResilientPropagation(FreeformNetwork theNetwork, MLDataSet theTraining, double initialUpdate, double theMaxStep)
theNetwork
- The network to train.theTraining
- The training set.initialUpdate
- The initial update.theMaxStep
- The max step.protected void learnConnection(FreeformConnection connection)
learnConnection
in class FreeformPropagationTraining
connection
- The connection to learn from.public TrainingContinuation pause()
public void resume(TrainingContinuation state)
Copyright © 2014. All Rights Reserved.