public class SupervisedHebbianLearning extends LMS
maxError, previousEpochError
currentIteration, learningRate, stopConditions
listeners, neuralNetwork, trainingSet
Constructor and Description |
---|
SupervisedHebbianLearning()
Creates new instance of SupervisedHebbianLearning algorithm
|
Modifier and Type | Method and Description |
---|---|
protected void |
calculateWeightChanges(double[] desiredOutput)
This method implements weight update procedure for the whole network for
this learning rule
|
protected void |
updateNeuronWeights(Neuron neuron,
double desiredOutput)
This method implements weights update procedure for the single neuron
|
calculateWeightChanges
afterEpoch, beforeEpoch, doBatchWeightsUpdate, doLearningEpoch, getErrorFunction, getMaxError, getMinErrorChange, getMinErrorChangeIterationsCount, getMinErrorChangeIterationsLimit, getPreviousEpochError, getTotalNetworkError, isBatchMode, learn, learn, learnPattern, onStart, 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 SupervisedHebbianLearning()
protected void calculateWeightChanges(double[] desiredOutput)
calculateWeightChanges
in class LMS
desiredOutput
- desired network outputlearnPattern
protected void updateNeuronWeights(Neuron neuron, double desiredOutput)
neuron
- neuron to update weights
desiredOutput
desired output of the neuronCopyright © 2019 Neuroph Project. All rights reserved.