|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.joone.engine.Layer
org.joone.engine.SimpleLayer
public abstract class SimpleLayer
This abstract class represents layers that are composed by neurons that implement some transfer function.
Field Summary |
---|
Fields inherited from class org.joone.engine.Layer |
---|
bias, gradientInps, gradientOuts, inps, inputPatternListeners, learnable, learning, m_batch, monitor, myLearner, outputPatternListeners, outs, running, step, STOP_FLAG |
Constructor Summary | |
---|---|
SimpleLayer()
The constructor |
|
SimpleLayer(java.lang.String ElemName)
The constructor |
Method Summary | |
---|---|
protected void |
backward(double[] parm1)
Reverse transfer function of the component. |
double |
getLearningRate()
Returns the value of the learning rate of the Layer |
double |
getLrate()
Needed for Save As XML |
double |
getMomentum()
Returns the value of the momentum of the Layer |
protected void |
setDimensions()
Sets the dimension of the layer. |
void |
setLrate(double newLrate)
Needed for Save As XML |
void |
setMomentum(double newMomentum)
Needed for Save As XML |
void |
setMonitor(Monitor parm1)
Sets the monitor object |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SimpleLayer()
public SimpleLayer(java.lang.String ElemName)
ElemName
- The name of the LayerMethod Detail |
---|
protected void backward(double[] parm1)
Layer
backward
in class Layer
parm1
- input pattern on which to apply the transfer functionpublic double getLearningRate()
public double getMomentum()
protected void setDimensions()
Layer
setDimensions
in class Layer
public void setMonitor(Monitor parm1)
Layer
setMonitor
in interface NeuralLayer
setMonitor
in class Layer
parm1
- The Monitorpublic double getLrate()
public void setLrate(double newLrate)
public void setMomentum(double newMomentum)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |