public class BackPropagation extends LMS
maxError, previousEpochErrorcurrentIteration, learningRate, stopConditionslisteners, neuralNetwork, trainingSet| Constructor and Description |
|---|
BackPropagation()
Creates new instance of BackPropagation learning
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
calculateErrorAndUpdateHiddenNeurons()
This method implements weights adjustment for the hidden layers
|
protected void |
calculateErrorAndUpdateOutputNeurons(double[] outputError)
This method implements weights update procedure for the output neurons
Calculates delta/error and calls updateNeuronWeights to update neuron's weights
for each output neuron
|
protected double |
calculateHiddenNeuronError(Neuron neuron)
Calculates and returns the neuron's error (neuron's delta) for the given neuron param
|
protected void |
calculateWeightChanges(double[] outputError)
This method implements weight update procedure for the whole network
for the specified output error vector.
|
calculateWeightChangesafterEpoch, beforeEpoch, doBatchWeightsUpdate, doLearningEpoch, getErrorFunction, getMaxError, getMinErrorChange, getMinErrorChangeIterationsCount, getMinErrorChangeIterationsLimit, getPreviousEpochError, getTotalNetworkError, isBatchMode, learn, learn, learnPattern, onStart, setBatchMode, setErrorFunction, setMaxError, setMinErrorChange, setMinErrorChangeIterationsLimitdoOneLearningIteration, getCurrentIteration, getLearningRate, getMaxIterations, hasReachedStopCondition, isIterationsLimited, isPausedLearning, learn, learn, pause, resume, setLearningRate, setMaxIterationsaddListener, fireLearningEvent, getNeuralNetwork, getTrainingSet, isStopped, onStop, removeListener, setNeuralNetwork, setTrainingSet, stopLearningpublic BackPropagation()
protected void calculateWeightChanges(double[] outputError)
calculateWeightChanges in class LMSoutputError - output error vectorlearnPatternprotected void calculateErrorAndUpdateOutputNeurons(double[] outputError)
outputError - error vector for output neuronsprotected void calculateErrorAndUpdateHiddenNeurons()
protected double calculateHiddenNeuronError(Neuron neuron)
neuron - neuron to calculate error forCopyright © 2019 Neuroph Project. All rights reserved.