org.joone.engine
Class RTRLLearnerFactory.RTRLLearner

java.lang.Object
  extended by org.joone.engine.RTRLLearnerFactory.RTRLLearner
All Implemented Interfaces:
java.io.Serializable, Learner
Enclosing class:
RTRLLearnerFactory

public class RTRLLearnerFactory.RTRLLearner
extends java.lang.Object
implements Learner

The learner we will return from this factory. Learners come in two variants. Those attached to layers and those attached to synapses. We take no action here and use an output listener to update weights. The backpropagation is turned off, so this should in any event never be reached.

See Also:
Serialized Form

Field Summary
protected  Learnable learnable
          The learnable that is trained here
 
Constructor Summary
RTRLLearnerFactory.RTRLLearner()
           
 
Method Summary
 void registerLearnable(Learnable learnable)
          Register the learnable and determine if we'll update on this one
 void requestBiasUpdate(double[] currentGradientOuts)
          A layer requests a bias update.
 void requestWeightUpdate(double[] currentPattern, double[] currentInps)
          A synapse requests a weight update.
 void setMonitor(Monitor monitor)
          Set the monitor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

learnable

protected Learnable learnable
The learnable that is trained here

Constructor Detail

RTRLLearnerFactory.RTRLLearner

public RTRLLearnerFactory.RTRLLearner()
Method Detail

registerLearnable

public void registerLearnable(Learnable learnable)
Register the learnable and determine if we'll update on this one

Specified by:
registerLearnable in interface Learner

requestBiasUpdate

public void requestBiasUpdate(double[] currentGradientOuts)
A layer requests a bias update. We take no action here.

Specified by:
requestBiasUpdate in interface Learner

requestWeightUpdate

public void requestWeightUpdate(double[] currentPattern,
                                double[] currentInps)
A synapse requests a weight update. We take no action here.

Specified by:
requestWeightUpdate in interface Learner

setMonitor

public void setMonitor(Monitor monitor)
Set the monitor

Specified by:
setMonitor in interface Learner


Submit Feedback to pmarrone@users.sourceforge.net