|
||||||||||
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.SineLayer
public class SineLayer
The output of a sine layer neuron is the sum of the weighted input values,
applied to a sine (sin(x)
). Neurons with sine activation
problems might be useful in problems with periodicity.
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 | |
---|---|
SineLayer()
Creates a new instance of SineLayer |
|
SineLayer(java.lang.String aName)
Creates a new instance of SineLayer |
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 |
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 SineLayer()
public SineLayer(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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |