public class EKFRNNLearnerPlugin extends MonitorPlugin
| Modifier and Type | Field and Description |
|---|---|
protected int |
cycleCount
Network cycle counter
|
protected ExtendedKalmanFilterRNN |
ekf
The filter that will do the training
|
protected Synapse |
errorPatternListener
The synapse we will use to catch the errors
|
protected double |
kalmanBoost
The kalman boost factor
|
protected double[] |
lastError
The most recently seen error
|
protected int |
processorCount
Number of processors to use, if 2 or more, will use SMP
|
protected int |
verbose
Zero for no verbosity, otherwise the number of patterns after which we croak
|
| Constructor and Description |
|---|
EKFRNNLearnerPlugin(double kalmanBoost,
int verbose)
The constructor
|
EKFRNNLearnerPlugin(double kalmanBoost,
int verbose,
int processorCount)
The constructor
|
| Modifier and Type | Method and Description |
|---|---|
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
|
cicleTerminated, errorChanged, getName, getNeuralNet, getRate, netStarted, netStopped, netStoppedError, setName, setNeuralNet, setRate, toBeManagedprotected transient ExtendedKalmanFilterRNN ekf
protected transient int cycleCount
protected transient double[] lastError
protected transient Synapse errorPatternListener
protected double kalmanBoost
protected int verbose
protected int processorCount
public EKFRNNLearnerPlugin(double kalmanBoost,
int verbose,
int processorCount)
public EKFRNNLearnerPlugin(double kalmanBoost,
int verbose)
protected void attachErrorPatternListener()
protected void manageStop(Monitor mon)
manageStop in class MonitorPluginprotected void manageCycle(Monitor mon)
manageCycle in class MonitorPluginprotected void manageStart(Monitor mon)
manageStart in class MonitorPluginprotected void manageError(Monitor mon)
manageError in class MonitorPluginprotected void manageStopError(Monitor mon, java.lang.String msgErr)
manageStopError in class MonitorPluginpublic static void testEKF(java.lang.String[] args)
public static void main(java.lang.String[] args)
Submit Feedback to pmarrone@users.sourceforge.net