|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--saaps.ann.mlff.Neuron | +--saaps.ann.mlff.TanhNeuron
Implementation of the tanh neuron. The output from the neuron lies in the range [-1,+1].
Constructor Summary | |
TanhNeuron()
Creates new TanhNeuron |
|
TanhNeuron(Weights w)
Create a tanh neuron from a set of weights and bias. |
Method Summary | |
Data |
transFun(Data x)
The tanh transfer function. |
Methods inherited from class saaps.ann.mlff.Neuron |
getOutput,
setInput |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public TanhNeuron()
public TanhNeuron(Weights w)
w
- The weights and biasMethod Detail |
public Data transFun(Data x)
x
- The input to the transfer function
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |