public class EKFFFNLearnerPlugin extends MonitorPlugin
| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
EKFFFNLearnerPlugin(double kalmanBoost,
int verbose)
The constructor
|
EKFFFNLearnerPlugin(double kalmanBoost,
int verbose,
int processorCount)
The constructor for SMP processing
|
| 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 Synapse errorPatternListener
protected transient ExtendedKalmanFilterFFN ekf
protected transient int cycleCount
protected transient double[] lastError
protected double kalmanBoost
protected int verbose
protected int processorCount
public EKFFFNLearnerPlugin(double kalmanBoost,
int verbose,
int processorCount)
public EKFFFNLearnerPlugin(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