I am currently using an online update method to update the weights of a neural network, but the results are not satisfactory. I want try switching to a batch update method now. Firstly, I will tell you what I have understood about batch update:
We calculate the mean square error for all input patterns and the update weights. Now I don't understand how to calculate delta of error(delE). In online update method we use formula: error*derivative of o/p (i.e assuming sigmoid activation we get y(i)( 1-y(i) ) ). But o/p to take in batch update(last one or ?). Similarly, we calculate weight change (wtC) usign the formula
for hidden to o/p layer:
wtC=learning rate*delE(delta of error)*Hidden o/p;
and for input to hidden layer:
wtC=learning rate*delE(delta of error)*input;
What values should I take for hidden o/p and input in batch update for calculating wtC?