public class ResilientPropagation extends BackPropagation
| Modifier and Type | Class and Description |
|---|---|
class |
ResilientPropagation.ResilientWeightTrainingtData |
maxError, previousEpochErrorcurrentIteration, learningRate, stopConditionslisteners, neuralNetwork, trainingSet| Constructor and Description |
|---|
ResilientPropagation() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doBatchWeightsUpdate()
This method updates network weights in batch mode - use accumulated weights change stored in Weight.deltaWeight
It is executed after each learning epoch, only if learning is done in batch mode.
|
double |
getDecreaseFactor() |
double |
getIncreaseFactor() |
double |
getInitialDelta() |
double |
getMaxDelta() |
double |
getMinDelta() |
protected void |
onStart()
This method is executed when learning starts, before the first epoch.
|
protected void |
resillientWeightUpdate(Weight weight)
Weight update by done by ResilientPropagation learning rule
Executed at the end of epoch (in batch mode)
|
void |
setBatchMode(boolean batchMode)
Sets batch mode on/off (true/false)
|
void |
setDecreaseFactor(double decreaseFactor) |
void |
setIncreaseFactor(double increaseFactor) |
void |
setInitialDelta(double initialDelta) |
void |
setMaxDelta(double maxDelta) |
void |
setMinDelta(double minDelta) |
void |
updateNeuronWeights(Neuron neuron)
Calculate and sum gradients for each neuron's weight, the actual weight update is done in batch mode.
|
calculateErrorAndUpdateHiddenNeurons, calculateErrorAndUpdateOutputNeurons, calculateHiddenNeuronError, calculateWeightChangesafterEpoch, beforeEpoch, doLearningEpoch, getErrorFunction, getMaxError, getMinErrorChange, getMinErrorChangeIterationsCount, getMinErrorChangeIterationsLimit, getPreviousEpochError, getTotalNetworkError, isBatchMode, learn, learn, learnPattern, setErrorFunction, setMaxError, setMinErrorChange, setMinErrorChangeIterationsLimitdoOneLearningIteration, getCurrentIteration, getLearningRate, getMaxIterations, hasReachedStopCondition, isIterationsLimited, isPausedLearning, learn, learn, pause, resume, setLearningRate, setMaxIterationsaddListener, fireLearningEvent, getNeuralNetwork, getTrainingSet, isStopped, onStop, removeListener, setNeuralNetwork, setTrainingSet, stopLearningprotected void onStart()
IterativeLearningonStart in class SupervisedLearningpublic void updateNeuronWeights(Neuron neuron)
updateNeuronWeights in class LMSneuron - neuron to update weightsresillientWeightUpdate(org.neuroph.core.Weight)protected void doBatchWeightsUpdate()
SupervisedLearningdoBatchWeightsUpdate in class SupervisedLearningSupervisedLearning.doLearningEpoch(org.neuroph.core.data.DataSet)protected void resillientWeightUpdate(Weight weight)
weight - public double getDecreaseFactor()
public void setDecreaseFactor(double decreaseFactor)
public double getIncreaseFactor()
public void setIncreaseFactor(double increaseFactor)
public double getInitialDelta()
public void setInitialDelta(double initialDelta)
public double getMaxDelta()
public void setMaxDelta(double maxDelta)
public double getMinDelta()
public void setMinDelta(double minDelta)
public void setBatchMode(boolean batchMode)
SupervisedLearningsetBatchMode in class SupervisedLearningbatchMode - batch mode settingCopyright © 2017 Neuroph Project. All rights reserved.