public class ErrorBasedTerminator extends MonitorPlugin
| Constructor and Description |
|---|
ErrorBasedTerminator()
Creates a new instance of ErrorBasedTerminator
|
ErrorBasedTerminator(double anErrorLevel)
Creates a new instance of ErrorBasedTerminator
|
| Modifier and Type | Method and Description |
|---|---|
double |
getErrorLevel()
Gets the error level.
|
int |
getStoppedCycle()
Gets the cycle the network was stopped.
|
boolean |
isStopRequestPerformed()
Checks if this object requested / stopped the neural network.
|
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) |
void |
setErrorLevel(double anErrorLevel)
Sets the error level.
|
cicleTerminated, errorChanged, getName, getNeuralNet, getRate, netStarted, netStopped, netStoppedError, setName, setNeuralNet, setRate, toBeManagedpublic ErrorBasedTerminator()
public ErrorBasedTerminator(double anErrorLevel)
anErrorLevel - the error level. A network having a training error
equal to or below this level will be stopped.public void setErrorLevel(double anErrorLevel)
anErrorLevel - the error level to set.public double getErrorLevel()
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 int getStoppedCycle()
public boolean isStopRequestPerformed()
true if this object requested the stop of the network
since it has been started, false otherwise.Submit Feedback to pmarrone@users.sourceforge.net