public class SineLayer extends SimpleLayer implements LearnableLayer
sin(x)). Neurons with sine activation
problems might be useful in problems with periodicity.parent,
parent,
implemented interface,
Serialized Formbias, gradientInps, gradientOuts, inps, inputPatternListeners, learnable, learning, m_batch, monitor, myLearner, outputPatternListeners, outs, running, step, STOP_FLAG| Constructor and Description |
|---|
SineLayer()
Creates a new instance of SineLayer
|
SineLayer(java.lang.String aName)
Creates a new instance of SineLayer
|
| Modifier and Type | Method and Description |
|---|---|
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
|
getLearningRate, getLrate, getMomentum, setDimensions, setLrate, setMomentum, setMonitoraddInputSynapse, addNoise, addOutputSynapse, adjustSizeToFwdPattern, adjustSizeToRevPattern, check, checkInputEnabled, checkInputs, checkOutputs, copyInto, finalize, fireFwdGet, fireFwdPut, fireRevGet, fireRevPut, fwdRun, getAllInputs, getAllOutputs, getBias, getDimension, getLastGradientInps, getLastGradientOuts, getLastInputs, getLastOutputs, getLayerName, getLearner, getMonitor, getRows, getThreadMonitor, hasStepCounter, init, initLearner, InspectableTitle, Inspections, isInputLayer, isOutputLayer, isRunning, join, randomize, randomizeBias, randomizeWeights, removeAllInputs, removeAllOutputs, removeInputSynapse, removeListener, removeOutputSynapse, resetInputListeners, revRun, run, setAllInputs, setAllOutputs, setBias, setConnDimensions, setInputDimension, setInputSynapses, setLastInputs, setLastOutputs, setLayerName, setOutputDimension, setOutputSynapses, setRows, start, stop, sumBackInput, sumInput, toStringclone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLearner, getMonitor, initLearneraddInputSynapse, addNoise, addOutputSynapse, check, copyInto, getAllInputs, getAllOutputs, getBias, getLayerName, getMonitor, getRows, isRunning, removeAllInputs, removeAllOutputs, removeInputSynapse, removeOutputSynapse, setAllInputs, setAllOutputs, setBias, setLayerName, setMonitor, setRows, startpublic SineLayer()
public SineLayer(java.lang.String aName)
aName - The name of the layerprotected void forward(double[] aPattern)
throws JooneRuntimeException
Layerforward in class LayeraPattern - input pattern to which to apply the rtransfer functionJooneRuntimeExceptionpublic void backward(double[] aPattern)
throws JooneRuntimeException
Layerbackward in class SimpleLayeraPattern - input pattern on which to apply the transfer functionJooneRuntimeExceptionpublic double getDerivative(int i)
getDerivative in class Layerpublic double getDefaultState()
LayergetDefaultState in class Layerpublic double getMinimumState()
LayergetMinimumState in class Layerpublic double getMaximumState()
LayergetMaximumState in class LayerSubmit Feedback to pmarrone@users.sourceforge.net