public class QuickPropagation extends BackPropagation
Modifier and Type | Class and Description |
---|---|
static class |
QuickPropagation.QuickPropData |
maxError, previousEpochError
currentIteration, learningRate, stopConditions
listeners, neuralNetwork, trainingSet
Constructor and Description |
---|
QuickPropagation() |
Modifier and Type | Method and Description |
---|---|
protected void |
onStart()
This method is executed when learning starts, before the first epoch.
|
void |
updateNeuronWeights(Neuron neuron)
This method implements weights update procedure for the single neuron
It iterates through all neuron's input connections, and calculates/set weight change for each weight
using formula
deltaWeight = learningRate * neuronError * input
where neuronError is difference between desired and actual output for specific neuron
neuronError = desiredOutput[i] - actualOutput[i] (see method SuprevisedLearning.calculateOutputError)
|
calculateErrorAndUpdateHiddenNeurons, calculateErrorAndUpdateOutputNeurons, calculateHiddenNeuronError, calculateWeightChanges
afterEpoch, beforeEpoch, doBatchWeightsUpdate, doLearningEpoch, getErrorFunction, getMaxError, getMinErrorChange, getMinErrorChangeIterationsCount, getMinErrorChangeIterationsLimit, getPreviousEpochError, getTotalNetworkError, isBatchMode, learn, learn, learnPattern, setBatchMode, setErrorFunction, setMaxError, setMinErrorChange, setMinErrorChangeIterationsLimit
doOneLearningIteration, getCurrentIteration, getLearningRate, getMaxIterations, hasReachedStopCondition, isIterationsLimited, isPausedLearning, learn, learn, pause, resume, setLearningRate, setMaxIterations
addListener, fireLearningEvent, getNeuralNetwork, getTrainingSet, isStopped, onStop, removeListener, setNeuralNetwork, setTrainingSet, stopLearning
public void updateNeuronWeights(Neuron neuron)
LMS
updateNeuronWeights
in class LMS
neuron
- neuron to update weightsLMS.calculateWeightChanges(double[])
protected void onStart()
IterativeLearning
onStart
in class SupervisedLearning
Copyright © 2017 Neuroph Project. All rights reserved.