probably easiest is some pseudo-code here:
Code: Select all
activation = activation * sustainFactor;
// The following code is only used if the neuron is NOT an input neuron. For input neurons the calculation is finished here.
sum = SumUpInputs();
sum = sum - activationThreshold;
activation = activation + sum;
if (activation > 1)
activation = 1;
else if (activation < 0)
activation = 0;
Does that help?
you can also find additional information in the MemBrain Help file:
Press F1 in MemBrain and browse to the chapter 'Neurons in MemBrain' - 'Neuron Model And Operation'.
This help chapter describes the calculations of neuron activation and output in more detail.