|
||||||||||
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.LogarithmicLayer
public class LogarithmicLayer
This layer implements a logarithmic transfer function. Used in some NN to avoid to saturate the inputs.
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 | |
---|---|
LogarithmicLayer()
Creates a new instance of LogarithmicLayer |
|
LogarithmicLayer(java.lang.String elemName)
|
Method Summary | |
---|---|
protected void |
backward(double[] pattern)
Reverse transfer function of the component. |
protected void |
forward(double[] pattern)
Transfer function to recall a result on a trained net |
Learner |
getLearner()
Deprecated. - Used only for backward compatibility |
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 |
---|
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 LogarithmicLayer()
public LogarithmicLayer(java.lang.String elemName)
Method Detail |
---|
protected void forward(double[] pattern)
forward
in class Layer
pattern
- double[] - input patternprotected void backward(double[] pattern)
backward
in class SimpleLayer
pattern
- double[] - input pattern on wich to apply the transfer functionpublic Learner getLearner()
Layer
getLearner
in interface Learnable
getLearner
in class Layer
Learnable.getLearner()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |