To calculate values, we take the output from our Sigmoid function and add to it the bias term:
public virtual double CalculateValue()
{
return Value = Sigmoid.Output(InputSynapses.Sum(a =>a.Weight *
a.InputNeuron.Value) + Bias);
}
To calculate values, we take the output from our Sigmoid function and add to it the bias term:
public virtual double CalculateValue()
{
return Value = Sigmoid.Output(InputSynapses.Sum(a =>a.Weight *
a.InputNeuron.Value) + Bias);
}