An epoch can be defined as the number of passes of a training dataset through an algorithm. One pass is equivalent to a round trip. The number of epochs can reach several thousand, as the procedure is repeated indefinitely until the model's error rate is reduced to an acceptable level.