|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Observable
org.neuroph.core.learning.LearningRule
org.neuroph.core.learning.IterativeLearning
org.neuroph.core.learning.SupervisedLearning
org.neuroph.nnet.learning.LMS
public class LMS
LMS learning rule for neural networks.
Field Summary |
---|
Fields inherited from class org.neuroph.core.learning.SupervisedLearning |
---|
maxError, totalNetworkError |
Fields inherited from class org.neuroph.core.learning.IterativeLearning |
---|
currentIteration, iterationsLimited, learningRate, maxIterations |
Fields inherited from class org.neuroph.core.learning.LearningRule |
---|
neuralNetwork |
Constructor Summary | |
---|---|
LMS()
Creates new LMS learning rule |
|
LMS(NeuralNetwork neuralNetwork)
Creates new LMS learning rule for specified neural network |
Method Summary | |
---|---|
protected void |
updateNetworkWeights(java.util.Vector<java.lang.Double> patternError)
This method implements weight update procedure for the whole network for this learning rule |
protected void |
updateNeuronWeights(Neuron neuron)
This method implements weights update procedure for the single neuron |
protected void |
updateTotalNetworkError(java.util.Vector<java.lang.Double> patternError)
Updates total network error with specified pattern error vector |
Methods inherited from class org.neuroph.core.learning.SupervisedLearning |
---|
doLearningEpoch, getPatternError, getTotalNetworkError, learn, learn, learnPattern, setMaxError |
Methods inherited from class org.neuroph.core.learning.IterativeLearning |
---|
doOneLearningIteration, getCurrentIteration, getLearningRate, isPausedLearning, learn, learn, pause, resume, setLearningRate, setMaxIterations |
Methods inherited from class org.neuroph.core.learning.LearningRule |
---|
getNeuralNetwork, getTrainingSet, isStopped, notifyChange, run, setNeuralNetwork, setTrainingSet, stopLearning |
Methods inherited from class java.util.Observable |
---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LMS()
public LMS(NeuralNetwork neuralNetwork)
neuralNetwork
- neural network to trainMethod Detail |
---|
protected void updateTotalNetworkError(java.util.Vector<java.lang.Double> patternError)
updateTotalNetworkError
in class SupervisedLearning
patternError
- single pattern error vectorprotected void updateNetworkWeights(java.util.Vector<java.lang.Double> patternError)
updateNetworkWeights
in class SupervisedLearning
patternError
- single pattern error vectorprotected void updateNeuronWeights(Neuron neuron)
neuron
- neuron to update weights
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |