Back Propagation Neural (BPN) was first introduced in 1960s, It is a multilayer neural network consisting of the input layer, at least one hidden layer and output layer. It is a multi-layer feed forward neural network using Gradient descent approach which exploits the chain rule to optimize the parameter. The error which is calculated at the output layer, by comparing the target output and the actual output, will be propagated back towards the input layer.
The main features of Backpropagation are the iterative, recursive and efficient method through which it calculates the updated weight to improve the network until it is not able to perform the task for which it is being trained.
Back Propagation Neural will use binary sigmoid activation function. The training will have the following three phases.
Step 0 − initialize the weights and the bias(For easy calculation and simplicity, take some small random values but not zero). also initialize the learning rate α(0, α, 1).
Step 1 − Continue step 2-10 when the stopping condition is not true.
Step 2 − Continue step 3-9 for every training pair.
Step 3 − Each input unit receives input signal xi and sends it to the hidden unit for all i = 1 to n
Step 4Calculate the net input at the hidden unit using the following relation −
Now calculate the net output by applying the following sigmoidal activation function
Step 5 Calculate the net input at the output layer unit using the following relation
Calculate the net output by applying the following sigmoidal activation function
Step 6 − Compute the error correcting term, in correspondence with the target pattern received at each output unit, as follows
The derivative can be calculated as:
if Binary sigmoid function:
if Bipolar sigmoid function:
Then, send back to the hidden layer
Step 7 − Now each hidden unit will be the sum of its delta inputs from the output units.
Error term can be calculated as follows −
Step 8 − Each output unit yk (k = 1 to m) updates the weight and bias as follows
Step 9 − Each Hidden unit qj (j = 1 to p) updates the weight and bias as follows
Step 10 − Check for the stopping condition, which may be either the number of epochs reached or the target output matches the actual output.