public class ExpNeuron extends LinkedNeuron
Represents a exponential neuron (exp transformated Product Unit) of a neural net
biased, links, weightRange, XML
Constructor and Description |
---|
ExpNeuron()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected double |
initInput()
Init the input of the neuron (0 or 1 depending on the kind of neuron)
|
protected double |
inputFunction(double input,
double in,
double weight)
Input function of the neuron.
|
protected double |
outputFunction(double input)
Output function of the neuron
|
java.lang.String |
toString()
Returns a string representation of the ExpNeuron
|
copy, equals, getLink, getLinks, getNoflinks, getWeightRange, hashCode, isBiased, keepRelevantLinks, operate, operate, randomWeight, setBiased, setLink, setLinks, setWeightRange
protected double initInput()
Init the input of the neuron (0 or 1 depending on the kind of neuron)
initInput
in class LinkedNeuron
protected double inputFunction(double input, double in, double weight)
Input function of the neuron. Update input for each input neuron
inputFunction
in class LinkedNeuron
input
- Old inputin
- Output of the input neuronweight
- Weight of the link to the input neuronprotected double outputFunction(double input)
Output function of the neuron
outputFunction
in class LinkedNeuron
input
- Input of the neuronpublic java.lang.String toString()
Returns a string representation of the ExpNeuron
toString
in class java.lang.Object