|
||||||||||
| 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 Form| 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 | |
|---|---|
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 |
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 SineLayer()
public SineLayer(java.lang.String aName)
aName - The name of the layer| Method Detail |
|---|
protected void forward(double[] aPattern)
throws JooneRuntimeException
Layer
forward in class LayeraPattern - input pattern to which to apply the rtransfer function
JooneRuntimeException
public void backward(double[] aPattern)
throws JooneRuntimeException
Layer
backward in class SimpleLayeraPattern - input pattern on which to apply the transfer function
JooneRuntimeExceptionpublic double getDerivative(int i)
getDerivative in class Layerpublic double getDefaultState()
Layer
getDefaultState in class Layerpublic double getMinimumState()
Layer
getMinimumState in class Layerpublic double getMaximumState()
Layer
getMaximumState in class Layer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||