Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Neuroph
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.neuroph.nnet.learning
Class MomentumBackpropagation

    java.lang.Object
      java.util.Observable
          org.neuroph.core.learning.LearningRule
              org.neuroph.core.learning.IterativeLearning
                  org.neuroph.core.learning.SupervisedLearning
                      org.neuroph.nnet.learning.LMS
                          org.neuroph.nnet.learning.SigmoidDeltaRule
                              org.neuroph.nnet.learning.BackPropagation
                                  org.neuroph.nnet.learning.MomentumBackpropagation

All Implemented Interfaces:
  java.io.Serializable, java.lang.Runnable

    public class MomentumBackpropagation

extends BackPropagation

Backpropagation learning rule with momentum.

See Also:
  Serialized Form

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
`MomentumBackpropagation()` Creates new instance of MomentumBackpropagation learning
`MomentumBackpropagation(NeuralNetwork neuralNetwork)` Creates new instance of MomentumBackpropagation learning for the specified neural network

Method Summary
`double` | `getMomentum()` Returns the momentum factor
`void` | `setMomentum(double momentum)` Sets the momentum factor
`protected void` | `updateNeuronWeights(Neuron neuron)` This method implements weights update procedure for the single neuron for the backpropagation with momentum factor

Methods inherited from class org.neuroph.nnet.learning.BackPropagation
`updateNetworkWeights`

Methods inherited from class org.neuroph.nnet.learning.SigmoidDeltaRule
`adjustOutputNeurons`

Methods inherited from class org.neuroph.nnet.learning.LMS
`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
`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

### MomentumBackpropagation

    public MomentumBackpropagation()

  Creates new instance of MomentumBackpropagation learning

### MomentumBackpropagation

    public MomentumBackpropagation(NeuralNetwork neuralNetwork)

  Creates new instance of MomentumBackpropagation learning for the specified neural network

  Parameters:
    `neuralNetwork` - neural network to train

Method Detail

### updateNeuronWeights

    protected void updateNeuronWeights(Neuron neuron)

  This method implements weights update procedure for the single neuron for the backpropagation with momentum factor

  Overrides:
    `updateNeuronWeights` in class `LMS`
  Parameters:
    `neuron` - neuron to update weights

### getMomentum

    public double getMomentum()

  Returns the momentum factor

  Returns:
    momentum factor

### setMomentum

    public void setMomentum(double momentum)

  Sets the momentum factor

  Parameters:
    `momentum` - momentum factor

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Neuroph
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD