Epoch size represents the total number of iterations the data is run through the optimizer Too few epochs, then the model will prematurely stop learning and will not grasp the full knowledge of the data, while with too large epochs, the training time will be longer and the model may train itself futilely without learning any new information.
In the Figure 8 below, we can clearly observe that, the increase in the number of epochs leads to the increase in model accuracy and the reduction in error (loss) to a certain point. It also must be noted that, infinitely increasing the epoch number does not increase the accuracy infinitely. For example, in case of the green line, representing the high learning rate, it is observed that no matter the increase in the number of epochs after the black circle depicted point, the model accuracy remains the same, however the drawback in the case is that with greater number of epochs and no accuracy increase, the only activity happening is the futile waste of the computation resource and the time.
Full Document Available at