org.neuroph.nnet.learning
Class ResilientPropagation
- 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.ResilientPropagation
-
- All Implemented Interfaces:
- java.io.Serializable
public class ResilientPropagation extends BackPropagation
Resilient Propagation learning rule used for Multi Layer Perceptron neural networks. Its one of the most efficent learning rules for this type of networks, and it does not require setting of learning rule parameter.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description classResilientPropagation.ResilientWeightTrainingtData
-
Constructor Summary
Constructors Constructor and Description ResilientPropagation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidcalculateWeightChanges(Neuron neuron)Calculate and sum gradients for each neuron's weight, the actual weight update is done in batch mode.doublegetDecreaseFactor()doublegetIncreaseFactor()doublegetInitialDelta()doublegetMaxDelta()doublegetMinDelta()voidsetBatchMode(boolean batchMode)Sets batch mode on/off (true/false)voidsetDecreaseFactor(double decreaseFactor)voidsetIncreaseFactor(double increaseFactor)voidsetInitialDelta(double initialDelta)voidsetMaxDelta(double maxDelta)voidsetMinDelta(double minDelta)-
Methods inherited from class org.neuroph.core.learning.SupervisedLearning
doLearningEpoch, getErrorFunction, getMaxError, getMinErrorChange, getMinErrorChangeIterationsCount, getMinErrorChangeIterationsLimit, getPreviousEpochError, getTotalNetworkError, isBatchMode, learn, learn, 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
-
-
-
-
Method Detail
-
calculateWeightChanges
public void calculateWeightChanges(Neuron neuron)
Calculate and sum gradients for each neuron's weight, the actual weight update is done in batch mode.- Parameters:
neuron- neuron to update weights- See Also:
resillientWeightUpdate(org.neuroph.core.Weight)
-
getDecreaseFactor
public double getDecreaseFactor()
-
setDecreaseFactor
public void setDecreaseFactor(double decreaseFactor)
-
getIncreaseFactor
public double getIncreaseFactor()
-
setIncreaseFactor
public void setIncreaseFactor(double increaseFactor)
-
getInitialDelta
public double getInitialDelta()
-
setInitialDelta
public void setInitialDelta(double initialDelta)
-
getMaxDelta
public double getMaxDelta()
-
setMaxDelta
public void setMaxDelta(double maxDelta)
-
getMinDelta
public double getMinDelta()
-
setMinDelta
public void setMinDelta(double minDelta)
-
setBatchMode
public void setBatchMode(boolean batchMode)
Description copied from class:SupervisedLearningSets batch mode on/off (true/false)- Overrides:
setBatchModein classSupervisedLearning- Parameters:
batchMode- batch mode setting
-
-
DMelt 3.0 © DataMelt by jWork.ORG