|
||||||||||
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
org.joone.engine.GaussLayer
public class GaussLayer
The output of a Gauss(ian) layer neuron is the sum of the weighted input values,
applied to a gaussian curve (exp(- x * x)
).
parent
,
parent
,
implemented interface
,
Serialized FormField 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 | |
---|---|
GaussLayer()
Creates a new instance of GaussLayer |
|
GaussLayer(java.lang.String aName)
Creates a new instance of GaussLayer |
Method Summary | |
---|---|
void |
backward(double[] aPattern)
Reverse transfer function of the component. |
protected void |
forward(double[] aPattern)
Transfer function to recall a result on a trained net |
double |
getDefaultState()
Return the default state of a node in this layer, such as 0 for a tanh or 0.5 for a sigmoid layer |
double |
getDerivative(int i)
Similar to the backward message and used by RTRL |
double |
getMaximumState()
Return maximum value of a node in this layer |
double |
getMinimumState()
Return minimum value of a node in this layer |
Methods inherited from class org.joone.engine.SimpleLayer |
---|
getLearningRate, getLrate, getMomentum, setDimensions, setLrate, setMomentum, setMonitor |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.joone.engine.Learnable |
---|
getLearner, getMonitor, initLearner |
Methods inherited from interface org.joone.engine.NeuralLayer |
---|
addInputSynapse, addNoise, addOutputSynapse, check, copyInto, getAllInputs, getAllOutputs, getBias, getLayerName, getMonitor, getRows, isRunning, removeAllInputs, removeAllOutputs, removeInputSynapse, removeOutputSynapse, setAllInputs, setAllOutputs, setBias, setLayerName, setMonitor, setRows, start |
Constructor Detail |
---|
public GaussLayer()
public GaussLayer(java.lang.String aName)
aName
- The name of the layerMethod Detail |
---|
protected void forward(double[] aPattern) throws JooneRuntimeException
Layer
forward
in class Layer
aPattern
- input pattern to which to apply the rtransfer function
JooneRuntimeException
public void backward(double[] aPattern) throws JooneRuntimeException
Layer
backward
in class SimpleLayer
aPattern
- input pattern on which to apply the transfer function
JooneRuntimeException
public double getDerivative(int i)
getDerivative
in class Layer
public double getDefaultState()
Layer
getDefaultState
in class Layer
public double getMinimumState()
Layer
getMinimumState
in class Layer
public double getMaximumState()
Layer
getMaximumState
in class Layer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |