|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.joone.util.MonitorPlugin
org.joone.engine.EKFFFNLearnerPlugin
public class EKFFFNLearnerPlugin
A plugin listener that implements the EKFFFN learner used to train feed forward neural networks.
Field Summary | |
---|---|
protected int |
cycleCount
Network cycle counter |
protected ExtendedKalmanFilterFFN |
ekf
The filter that will do the training |
protected Synapse |
errorPatternListener
The synapse that we will attach in order to catch the error |
protected double |
kalmanBoost
The kalman boost factor |
protected double[] |
lastError
The most recently seen error |
protected int |
processorCount
Number of processors to use, 2 or more uses SMP |
protected int |
verbose
Zero for no verbosity, otherwise the number of patterns after which we croak |
Constructor Summary | |
---|---|
EKFFFNLearnerPlugin(double kalmanBoost,
int verbose)
The constructor |
|
EKFFFNLearnerPlugin(double kalmanBoost,
int verbose,
int processorCount)
The constructor for SMP processing |
Method Summary | |
---|---|
protected void |
attachErrorPatternListener()
Attach a synapse to the output layer to calculate the error pattern and update the EKF on line. |
static void |
main(java.lang.String[] args)
Execute one of the testers |
protected void |
manageCycle(Monitor mon)
|
protected void |
manageError(Monitor mon)
|
protected void |
manageStart(Monitor mon)
|
protected void |
manageStop(Monitor mon)
|
protected void |
manageStopError(Monitor mon,
java.lang.String msgErr)
|
static void |
testEKF(java.lang.String[] args)
Test the EKF learner |
Methods inherited from class org.joone.util.MonitorPlugin |
---|
cicleTerminated, errorChanged, getName, getNeuralNet, getRate, netStarted, netStopped, netStoppedError, setName, setNeuralNet, setRate, toBeManaged |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected transient Synapse errorPatternListener
protected transient ExtendedKalmanFilterFFN ekf
protected transient int cycleCount
protected transient double[] lastError
protected double kalmanBoost
protected int verbose
protected int processorCount
Constructor Detail |
---|
public EKFFFNLearnerPlugin(double kalmanBoost, int verbose, int processorCount)
public EKFFFNLearnerPlugin(double kalmanBoost, int verbose)
Method Detail |
---|
protected void attachErrorPatternListener()
protected void manageStop(Monitor mon)
manageStop
in class MonitorPlugin
protected void manageCycle(Monitor mon)
manageCycle
in class MonitorPlugin
protected void manageStart(Monitor mon)
manageStart
in class MonitorPlugin
protected void manageError(Monitor mon)
manageError
in class MonitorPlugin
protected void manageStopError(Monitor mon, java.lang.String msgErr)
manageStopError
in class MonitorPlugin
public static void testEKF(java.lang.String[] args)
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |