org.neuroph.nnet.learning
Class MomentumBackpropagation
- java.lang.Object
-
- org.neuroph.core.learning.LearningRule
-
- org.neuroph.core.learning.IterativeLearning
-
- org.neuroph.core.learning.SupervisedLearning
-
- org.neuroph.nnet.learning.LMS
-
- org.neuroph.nnet.learning.BackPropagation
-
- org.neuroph.nnet.learning.MomentumBackpropagation
-
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ConvolutionalBackpropagation, DynamicBackPropagation, MatrixMomentumBackpropagation
public class MomentumBackpropagation extends BackPropagation
Backpropagation learning rule with momentum.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static classMomentumBackpropagation.MomentumTrainingData
-
Constructor Summary
Constructors Constructor and Description MomentumBackpropagation()Creates new instance of MomentumBackpropagation learning
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doublegetMomentum()Returns the momentum factorvoidsetMomentum(double momentum)Sets the momentum factorvoidupdateNeuronWeights(Neuron neuron)This method implements weights update procedure for the single neuron for the back propagation with momentum factor-
Methods inherited from class org.neuroph.core.learning.SupervisedLearning
doLearningEpoch, getErrorFunction, getMaxError, getMinErrorChange, getMinErrorChangeIterationsCount, getMinErrorChangeIterationsLimit, getPreviousEpochError, getTotalNetworkError, isBatchMode, learn, learn, setBatchMode, setErrorFunction, setMaxError, setMinErrorChange, setMinErrorChangeIterationsLimit
-
Methods inherited from class org.neuroph.core.learning.IterativeLearning
doOneLearningIteration, getCurrentIteration, getLearningRate, getMaxIterations, isIterationsLimited, isPausedLearning, learn, learn, pause, resume, setLearningRate, setMaxIterations
-
Methods inherited from class org.neuroph.core.learning.LearningRule
addListener, getNeuralNetwork, getTrainingSet, isStopped, removeListener, setNeuralNetwork, setTrainingSet, stopLearning
-
-
-
-
Constructor Detail
-
MomentumBackpropagation
public MomentumBackpropagation()
Creates new instance of MomentumBackpropagation learning
-
-
Method Detail
-
updateNeuronWeights
public void updateNeuronWeights(Neuron neuron)
This method implements weights update procedure for the single neuron for the back propagation with momentum factor- Parameters:
neuron- neuron to update weights
-
getMomentum
public double getMomentum()
Returns the momentum factor- Returns:
- momentum factor
-
setMomentum
public void setMomentum(double momentum)
Sets the momentum factor- Parameters:
momentum- momentum factor
-
-
DMelt 3.0 © DataMelt by jWork.ORG