org.joone.util
Class DynamicAnnealing
java.lang.Object
org.joone.util.MonitorPlugin
org.joone.util.DynamicAnnealing
- All Implemented Interfaces:
- java.io.Serializable, java.util.EventListener, NeuralNetListener
public class DynamicAnnealing
- extends MonitorPlugin
This plugin controls the change of the learning rate based on the difference
between the last two global error (E) values:
if E(t) > E(t-1) then LR = LR * (1 - step/100)
Note: step/100 because step is inserted as a % value from the user
if E(t) <= E(t-1) then LR is unchanged
- Author:
- pmarrone
- See Also:
- Serialized Form
Constructor Summary |
DynamicAnnealing()
Creates a new instance of DynamicAnnealing |
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 |
DynamicAnnealing
public DynamicAnnealing()
- Creates a new instance of DynamicAnnealing
manageCycle
protected void manageCycle(Monitor mon)
- Specified by:
manageCycle
in class MonitorPlugin
manageStop
protected void manageStop(Monitor mon)
- Specified by:
manageStop
in class MonitorPlugin
getStep
public double getStep()
- Getter for property step.
- Returns:
- Value of property step.
setStep
public void setStep(double step)
- Setter for property step.
- Parameters:
step
- New value of property step.
manageStart
protected void manageStart(Monitor mon)
- Specified by:
manageStart
in class MonitorPlugin
manageError
protected void manageError(Monitor mon)
- Specified by:
manageError
in class MonitorPlugin
manageStopError
protected void manageStopError(Monitor mon,
java.lang.String msgErr)
- Specified by:
manageStopError
in class MonitorPlugin
Submit Feedback to pmarrone@users.sourceforge.net