Overview | Package | Class | Use | Tree | Deprecated | Index | Help
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
      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:
  Serializable

Direct Known Subclasses:
  DynamicBackPropagation

    public class MomentumBackpropagation

extends BackPropagation

Backpropagation learning rule with momentum.

Author:
  Zoran Sevarac
See Also:
  Serialized Form

Nested Class Summary
`class` | `MomentumBackpropagation.MomentumWeightTrainingData`

Field Summary
`protected double` | `momentum` Momentum factor

Fields inherited from class org.neuroph.core.learning.SupervisedLearning
`maxError, outputError, previousEpochError, totalNetworkError, totalSquaredErrorSum`

Fields inherited from class org.neuroph.core.learning.IterativeLearning
`currentIteration, iterationsLimited, learningRate, maxIterations`

Fields inherited from class org.neuroph.core.learning.LearningRule
`listeners, neuralNetwork`

Constructor Summary
`MomentumBackpropagation()` Creates new instance of MomentumBackpropagation learning

Method Summary
`double` | `getMomentum()` Returns the momentum factor
`protected void` | `onStart()` This method is executed when learning starts, before the first epoch.
`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 back propagation with momentum factor

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

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

Methods inherited from class org.neuroph.core.learning.SupervisedLearning
`addToSquaredErrorSum, afterEpoch, beforeEpoch, calculateOutputError, doBatchWeightsUpdate, doLearningEpoch, errorChangeStalled, getMaxError, getMinErrorChange, getMinErrorChangeIterationsCount, getMinErrorChangeIterationsLimit, getPreviousEpochError, getTotalNetworkError, hasReachedStopCondition, isInBatchMode, learn, learn, learnPattern, setBatchMode, setMaxError, setMinErrorChange, setMinErrorChangeIterationsLimit`

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
`addListener, fireLearningEvent, getNeuralNetwork, getTrainingSet, isStopped, removeListener, setNeuralNetwork, setTrainingSet, stopLearning`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### momentum

    protected double momentum

  Momentum factor

Constructor Detail

### MomentumBackpropagation

    public MomentumBackpropagation()

  Creates new instance of MomentumBackpropagation learning

Method Detail

### updateNeuronWeights

    protected void updateNeuronWeights(Neuron neuron)

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

  Overrides:
    `updateNeuronWeights` in class `LMS`
  Parameters:
    `neuron` - neuron to update weights
  See Also:
    `LMS.updateNetworkWeights(double[])`

### 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

### onStart

    protected void onStart()

  Description copied from class: `IterativeLearning`
  This method is executed when learning starts, before the first epoch. Used for initialisation.

  Overrides:
    `onStart` in class `SupervisedLearning`

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

Copyright © 2012. All Rights Reserved.