Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.joone.engine.extenders
Class DeltaRuleExtender  view DeltaRuleExtender download DeltaRuleExtender.java

java.lang.Object
  extended byorg.joone.engine.extenders.LearnerExtender
      extended byorg.joone.engine.extenders.DeltaRuleExtender
Direct Known Subclasses:
MomentumExtender, RpropExtender, SimulatedAnnealingExtender

public abstract class DeltaRuleExtender
extends LearnerExtender

This abstract class describes the methods needed for a delta rule extender, that is, a class that computes / changes the delta (update weight) value according to some algorithm.


Field Summary
 
Fields inherited from class org.joone.engine.extenders.LearnerExtender
 
Constructor Summary
DeltaRuleExtender()
          Creates a new instance of DeltaExtender
 
Method Summary
abstract  double getDelta(double[] currentGradientOuts, int j, double aPreviousDelta)
          Computes the delta value for a bias.
abstract  double getDelta(double[] currentInps, int j, double[] currentPattern, int k, double aPreviousDelta)
          Computes the delta value for a weight.
 
Methods inherited from class org.joone.engine.extenders.LearnerExtender
getLearner, isEnabled, postBiasUpdate, postWeightUpdate, preBiasUpdate, preWeightUpdate, setEnabled, setLearner
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeltaRuleExtender

public DeltaRuleExtender()
Creates a new instance of DeltaExtender

Method Detail

getDelta

public abstract double getDelta(double[] currentGradientOuts,
                                int j,
                                double aPreviousDelta)
Computes the delta value for a bias.


getDelta

public abstract double getDelta(double[] currentInps,
                                int j,
                                double[] currentPattern,
                                int k,
                                double aPreviousDelta)
Computes the delta value for a weight.