org.encog.neural.freeform.training
Class FreeformBackPropagation
- java.lang.Object
-
- org.encog.ml.train.BasicTraining
-
- org.encog.neural.freeform.training.FreeformPropagationTraining
-
- org.encog.neural.freeform.training.FreeformBackPropagation
-
- All Implemented Interfaces:
- java.io.Serializable, MLTrain
public class FreeformBackPropagation extends FreeformPropagationTraining implements java.io.Serializable
Perform backpropagation for a freeform neural network.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.encog.neural.freeform.training.FreeformPropagationTraining
FLAT_SPOT_CONST
-
-
Constructor Summary
Constructors Constructor and Description FreeformBackPropagation(FreeformNetwork theNetwork, MLDataSet theTraining, double theLearningRate, double theMomentum)Construct a back propagation trainer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description TrainingContinuationpause()Pause the training to continue later.voidresume(TrainingContinuation state)Resume training.-
Methods inherited from class org.encog.neural.freeform.training.FreeformPropagationTraining
canContinue, finishTraining, getBatchSize, getError, getImplementationType, getIteration, getMethod, getTraining, isFixFlatSopt, iteration, iteration, setBatchSize, setError, setFixFlatSopt, setIteration
-
Methods inherited from class org.encog.ml.train.BasicTraining
addStrategy, getStrategies, isTrainingDone, postIteration, preIteration, setTraining
-
-
-
-
Constructor Detail
-
FreeformBackPropagation
public FreeformBackPropagation(FreeformNetwork theNetwork, MLDataSet theTraining, double theLearningRate, double theMomentum)
Construct a back propagation trainer.- Parameters:
theNetwork- The network to train.theTraining- The training data to use. The coefficient for how much of the gradient is applied to each weight.theLearningRate- The learning rate. The coefficient for how much of the previous delta is applied to each weight. In theory, prevents local minima stall.theMomentum- The momentum.
-
-
Method Detail
-
pause
public TrainingContinuation pause()
Pause the training to continue later.
-
resume
public void resume(TrainingContinuation state)
Resume training.
-
-
DMelt 3.0 © DataMelt by jWork.ORG