Neuroph

org.neuroph.nnet.learning
Class SigmoidDeltaRule

java.lang.Object
  extended by java.util.Observable
      extended by org.neuroph.core.learning.LearningRule
          extended by org.neuroph.core.learning.IterativeLearning
              extended by org.neuroph.core.learning.SupervisedLearning
                  extended by org.neuroph.nnet.learning.LMS
                      extended by org.neuroph.nnet.learning.SigmoidDeltaRule
All Implemented Interfaces:
java.io.Serializable, java.lang.Runnable
Direct Known Subclasses:
BackPropagation

public class SigmoidDeltaRule
extends LMS

The SigmoidDeltaRule class extends LMS learning rule an implements Delta rule learning algorithm for perceptrons with sigmoid functions.

See Also:
LMS, Serialized Form

Field Summary
private static long serialVersionUID
          The class fingerprint that is set to indicate serialization compatibility with a previous version of the class.
 
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
SigmoidDeltaRule(NeuralNetwork neuralNetwork)
          Creates new SigmoidDeltaRule for the specified neural network
 
Method Summary
protected  void adjustOutputNeurons(java.util.Vector<java.lang.Double> patternError)
          This method implements weights update procedure for the output neurons
protected  void updateNetworkWeights(java.util.Vector<java.lang.Double> patternError)
          This method implements weight update procedure for the whole network for this learning rule
 
Methods inherited from class org.neuroph.nnet.learning.LMS
updateNeuronWeights, updateTotalNetworkError
 
Methods inherited from class org.neuroph.core.learning.SupervisedLearning
doLearningEpoch, getPatternError, getTotalNetworkError, learnPattern, setMaxError
 
Methods inherited from class org.neuroph.core.learning.IterativeLearning
getCurrentIteration, getLearningRate, learn, setLearningRate, setMaxIterations
 
Methods inherited from class org.neuroph.core.learning.LearningRule
getTrainingSet, isStopped, notifyChange, run, 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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
The class fingerprint that is set to indicate serialization compatibility with a previous version of the class.

See Also:
Constant Field Values
Constructor Detail

SigmoidDeltaRule

public SigmoidDeltaRule(NeuralNetwork neuralNetwork)
Creates new SigmoidDeltaRule for the specified neural network

Parameters:
neuralNetwork -
Method Detail

updateNetworkWeights

protected void updateNetworkWeights(java.util.Vector<java.lang.Double> patternError)
This method implements weight update procedure for the whole network for this learning rule

Overrides:
updateNetworkWeights in class LMS
Parameters:
patternError - single pattern error vector

adjustOutputNeurons

protected void adjustOutputNeurons(java.util.Vector<java.lang.Double> patternError)
This method implements weights update procedure for the output neurons

Parameters:
patternError - single pattern error vector

Neuroph