org.joone.util
Class WeightWriterPlugin

java.lang.Object
  extended by org.joone.util.MonitorPlugin
      extended by org.joone.util.WeightWriterPlugin
All Implemented Interfaces:
java.io.Serializable, java.util.EventListener, NeuralNetListener

public class WeightWriterPlugin
extends MonitorPlugin

A class that can be used to write weight values during training to a file in gnuplot format.

Author:
mg
See Also:
Serialized Form

Field Summary
protected  NodesAndWeights nodesAndWeights
          Nodes and weights used to obtain information
protected  java.io.PrintWriter weightWriter
          The writer to which the weights are dumped
 
Constructor Summary
WeightWriterPlugin(java.io.PrintWriter writer)
          Create a new weight writer that will use the given writer as output
 
Method Summary
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)
           
 
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

weightWriter

protected java.io.PrintWriter weightWriter
The writer to which the weights are dumped


nodesAndWeights

protected NodesAndWeights nodesAndWeights
Nodes and weights used to obtain information

Constructor Detail

WeightWriterPlugin

public WeightWriterPlugin(java.io.PrintWriter writer)
Create a new weight writer that will use the given writer as output

Method Detail

manageStop

protected void manageStop(Monitor mon)
Specified by:
manageStop in class MonitorPlugin

manageCycle

protected void manageCycle(Monitor mon)
Specified by:
manageCycle in class MonitorPlugin

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