org.joone.engine
Class SimpleLayer
- java.lang.Object
-
- org.joone.engine.Layer
-
- org.joone.engine.SimpleLayer
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Runnable, Learnable, LearnableLayer, NeuralLayer, Inspectable
- Direct Known Subclasses:
- BiasedLinearLayer, ContextLayer, GaussianLayer, GaussLayer, LinearLayer, LogarithmicLayer, SigmoidLayer, SineLayer, TanhLayer, WTALayer
public abstract class SimpleLayer extends Layer
This abstract class represents layers that are composed by neurons that implement some transfer function.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description SimpleLayer()The constructorSimpleLayer(java.lang.String ElemName)The constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doublegetLearningRate()Returns the value of the learning rate of the LayerdoublegetLrate()Needed for Save As XMLdoublegetMomentum()Returns the value of the momentum of the LayervoidsetLrate(double newLrate)Needed for Save As XMLvoidsetMomentum(double newMomentum)Needed for Save As XMLvoidsetMonitor(Monitor parm1)Sets the monitor object-
Methods inherited from class org.joone.engine.Layer
addInputSynapse, addNoise, addOutputSynapse, check, copyInto, finalize, fwdRun, getAllInputs, getAllOutputs, getBias, getDimension, getLastOutputs, getLayerName, getLearner, getMonitor, getRows, hasStepCounter, init, initLearner, InspectableTitle, Inspections, isInputLayer, isOutputLayer, isRunning, join, randomize, removeAllInputs, removeAllOutputs, removeInputSynapse, removeOutputSynapse, revRun, run, setAllInputs, setAllOutputs, setBias, setInputSynapses, setLayerName, setOutputSynapses, setRows, start, stop, toString
-
-
-
-
Constructor Detail
-
SimpleLayer
public SimpleLayer()
The constructor
-
SimpleLayer
public SimpleLayer(java.lang.String ElemName)
The constructor- Parameters:
ElemName- The name of the Layer
-
-
Method Detail
-
getLearningRate
public double getLearningRate()
Returns the value of the learning rate of the Layer- Returns:
- double
-
getMomentum
public double getMomentum()
Returns the value of the momentum of the Layer- Returns:
- double
-
setMonitor
public void setMonitor(Monitor parm1)
Description copied from class:LayerSets the monitor object- Specified by:
setMonitorin interfaceNeuralLayer- Overrides:
setMonitorin classLayer- Parameters:
parm1- The Monitor
-
getLrate
public double getLrate()
Needed for Save As XML
-
setLrate
public void setLrate(double newLrate)
Needed for Save As XML
-
setMomentum
public void setMomentum(double newMomentum)
Needed for Save As XML
-
-
DataMelt 3.0 © DataMelt by jWork.ORG