public class SupervisedHebbianLearning extends LMS
maxError, previousEpochErrorcurrentIteration, learningRate, stopConditionslisteners, 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
|
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 SupervisedHebbianLearning()
protected void calculateWeightChanges(double[] desiredOutput)
calculateWeightChanges in class LMSdesiredOutput - desired network outputlearnPatternprotected void updateNeuronWeights(Neuron neuron, double desiredOutput)
neuron - neuron to update weights
desiredOutput
desired output of the neuronCopyright © 2019 Neuroph Project. All rights reserved.