|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.joone.engine.RTRLLearnerFactory.RTRLLearner
public class RTRLLearnerFactory.RTRLLearner
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.
| 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 |
|---|
protected Learnable learnable
| Constructor Detail |
|---|
public RTRLLearnerFactory.RTRLLearner()
| Method Detail |
|---|
public void registerLearnable(Learnable learnable)
registerLearnable in interface Learnerpublic void requestBiasUpdate(double[] currentGradientOuts)
requestBiasUpdate in interface Learner
public void requestWeightUpdate(double[] currentPattern,
double[] currentInps)
requestWeightUpdate in interface Learnerpublic void setMonitor(Monitor monitor)
setMonitor in interface Learner
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||