BackpropagationCalcError Method |
Namespace: RavingBots.MagicGestures.AI.Neural.Classic
public static float CalcError( MultilayerPerceptron mlp, float[] sampleOutput )
The error value for each neuron on the output layer is set based on the derivative of that neuron's activation function (Activation) and the difference between expected output value and the actual one.