Machine Learning, Generalization, Regularization, Overfitting, Bias.
solution to overfitting is early-stopping, that is to stop the training loop as soon as validation loss is beginning to level off. Alternatively, regularization may help (see below). Underfitting, on the other hand, may happen if you stop too early. Generalization is low if there is large gap