|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.joone.engine.Synapse
org.joone.engine.DelaySynapse
public class DelaySynapse
This Synapse connects the N input neurons with the M output neurons using a matrix of FIRFilter elements of size NxM. A FIRFilter connection is a delayed connection that permits to implement a temporal backprop alg. functionally equivalent to the TDNN (Time Delay Neural Network), but in a more efficient and elegant manner.
FIRFilter
,
Serialized FormField Summary | |
---|---|
protected FIRFilter[][] |
fir
|
Fields inherited from class org.joone.engine.Synapse |
---|
array, b_pattern, bitems, bouts, count, enabled, fwdLock, inps, items, learnable, m_batch, m_pattern, myLearner, notFirstTime, notFirstTimeB, outs, revLock |
Constructor Summary | |
---|---|
DelaySynapse()
|
Method Summary | |
---|---|
void |
addNoise(double amplitude)
Adds a noise to the weights of the synapse |
protected void |
backward(double[] pattern)
Funzione di TRAIN dell'elemento. |
java.util.TreeSet |
check()
Base for check messages. |
protected void |
forward(double[] pattern)
Recall function |
int |
getTaps()
Inserire qui la descrizione del metodo. |
protected void |
setArrays(int rows,
int cols)
setArrays method comment. |
protected void |
setDimensions(int rows,
int cols)
Dimensiona l'elemento |
void |
setTaps(int newTaps)
Inserire qui la descrizione del metodo. |
Methods inherited from class org.joone.engine.Synapse |
---|
canCountSteps, fwdGet, fwdPut, getFwdLock, getIgnoreBefore, getInputDimension, getLearner, getLearningRate, getMomentum, getMonitor, getName, getOutputDimension, getRevLock, getWeights, init, initLearner, InspectableTitle, Inspections, isEnabled, isInputFull, isLoopBack, isOutputFull, randomize, readResolve, reset, revGet, revPut, setEnabled, setIgnoreBefore, setInputDimension, setInputFull, setLearningRate, setLoopBack, setMomentum, setMonitor, setName, setOutputDimension, setOutputFull, setWeights |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected FIRFilter[][] fir
Constructor Detail |
---|
public DelaySynapse()
Method Detail |
---|
public void addNoise(double amplitude)
Synapse
addNoise
in class Synapse
amplitude
- Amplitude of the noise: the value is centered around the zero.
e.g.: an amplitude = 0.2 means a noise range from -0.2 to 0.2protected void backward(double[] pattern)
Synapse
backward
in class Synapse
pattern
- double[] - pattern di input sul quale applicare la funzione di trasferimentoprotected void forward(double[] pattern)
Synapse
forward
in class Synapse
pattern
- double[] - input patternpublic int getTaps()
protected void setArrays(int rows, int cols)
setArrays
in class Synapse
protected void setDimensions(int rows, int cols)
Synapse
setDimensions
in class Synapse
public void setTaps(int newTaps)
newTaps
- intpublic java.util.TreeSet check()
Synapse
check
in interface NeuralElement
check
in class Synapse
InputPaternListener
,
OutputPaternListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |