The Encog Project

org.encog.neural.networks.training.propagation.resilient
Class ResilientPropagationMethod

java.lang.Object
  extended by org.encog.neural.networks.training.propagation.resilient.ResilientPropagationMethod
All Implemented Interfaces:
PropagationMethod

public class ResilientPropagationMethod
extends java.lang.Object
implements PropagationMethod

Implements the specifics of the resilient propagation training algorithm.

Author:
jheaton

Constructor Summary
ResilientPropagationMethod(double zeroTolerance, double maxStep, double initialUpdate)
          Construct a resilient propagation method.
 
Method Summary
 void calculateError(NeuralOutputHolder output, PropagationLevel fromLevel, PropagationLevel toLevel)
          Calculate the error between these two levels.
 void init(PropagationUtil propagation)
          Init with the specified propagation object.
 void learn()
          Modify the weight matrix and thresholds based on the last call to calcError.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResilientPropagationMethod

public ResilientPropagationMethod(double zeroTolerance,
                                  double maxStep,
                                  double initialUpdate)
Construct a resilient propagation method.

Parameters:
zeroTolerance - The zero tolerance.
maxStep - The max step.
initialUpdate - The initial update.
Method Detail

calculateError

public void calculateError(NeuralOutputHolder output,
                           PropagationLevel fromLevel,
                           PropagationLevel toLevel)
Calculate the error between these two levels.

Specified by:
calculateError in interface PropagationMethod
Parameters:
output - The output to the "to level".
fromLevel - The from level.
toLevel - The target level.

init

public void init(PropagationUtil propagation)
Init with the specified propagation object.

Specified by:
init in interface PropagationMethod
Parameters:
propagation - The propagation object that this method will be used with.

learn

public void learn()
Modify the weight matrix and thresholds based on the last call to calcError.

Specified by:
learn in interface PropagationMethod

The Encog Project