MATLAB: What is EPOCH in neural network

Deep Learning Toolboxepochneural network

HI what is the definition of EPOCH. is it just an iteration. for each epoch, all the data sets go for training with assumed weights and biases.?? OR, does epoch has a size also, where after that size, the weights adgustments happen and runs again for other size.
Pl clarify me.
Thanks, Charu

Best Answer

An epoch is a measure of the number of times all of the training vectors are used once to update the weights.
For batch training all of the training samples pass through the learning algorithm simultaneously in one epoch before weights are updated.
help/doc trainlm
For sequential training all of the weights are updated after each training vector is sequentially passed through the training algorithm.
help/doc adapt
Hope this helps.
Thank you for formally accepting my answer
Greg
P.S. The comp.ai.neural-nets FAQ can very helpfull for understanding NN terminology and techniques.
Greg