public class LMS extends SupervisedLearning implements Serializable
maxError, previousEpochError
currentIteration, learningRate, stopConditions
listeners, neuralNetwork, trainingSet
Constructor and Description |
---|
LMS()
Creates a new LMS learning rule
|
Modifier and Type | Method and Description |
---|---|
protected void |
calculateWeightChanges(double[] outputError)
This method calculates weight change for the network's output neurons for the given output error vector.
|
protected void |
calculateWeightChanges(Neuron neuron)
This method calculates weights changes for the single neuron.
|
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
protected void calculateWeightChanges(double[] outputError)
calculateWeightChanges
in class SupervisedLearning
outputError
- output error vector for some network input- the difference between desired and actual outputlearnPattern
protected void calculateWeightChanges(Neuron neuron)
neuron
- neuron to update weightscalculateWeightChanges(double[])
Copyright © 2019 Neuroph Project. All rights reserved.