org.joone.engine
Class SineLayer
- java.lang.Object
-
- org.joone.engine.Layer
-
- org.joone.engine.SimpleLayer
-
- org.joone.engine.SineLayer
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Runnable, Learnable, LearnableLayer, NeuralLayer, Inspectable
public class SineLayer extends SimpleLayer implements LearnableLayer
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.- See Also:
parent,parent,implemented interface, Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description SineLayer()Creates a new instance of SineLayerSineLayer(java.lang.String aName)Creates a new instance of SineLayer
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidbackward(double[] aPattern)Reverse transfer function of the component.-
Methods inherited from class org.joone.engine.SimpleLayer
getLearningRate, getLrate, getMomentum, setLrate, setMomentum, setMonitor
-
Methods inherited from class org.joone.engine.Layer
addInputSynapse, addNoise, addOutputSynapse, check, copyInto, finalize, fwdRun, getAllInputs, getAllOutputs, getBias, getDimension, getLastOutputs, getLayerName, getLearner, getMonitor, getRows, hasStepCounter, init, initLearner, InspectableTitle, Inspections, isInputLayer, isOutputLayer, isRunning, join, randomize, removeAllInputs, removeAllOutputs, removeInputSynapse, removeOutputSynapse, revRun, run, setAllInputs, setAllOutputs, setBias, setInputSynapses, setLayerName, setOutputSynapses, setRows, start, stop, toString
-
Methods inherited from class java.lang.Object
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
-
SineLayer
public SineLayer()
Creates a new instance of SineLayer
-
SineLayer
public SineLayer(java.lang.String aName)
Creates a new instance of SineLayer- Parameters:
aName- The name of the layer
-
-
Method Detail
-
backward
public void backward(double[] aPattern) throws JooneRuntimeExceptionDescription copied from class:LayerReverse transfer function of the component.- Parameters:
aPattern- input pattern on which to apply the transfer function- Throws:
JooneRuntimeException
-
-
DataMelt 3.0 © DataMelt by jWork.ORG