What is a learning curve?

A learning curve is a chart that shows how a model’s performance changes as the size of the training data grows or as training epochs pass. It shows the error or accuracy on the training and validation data, and it helps diagnose problems such as underfitting, when performance is poor on both sets, or overfitting, when performance is good on training data but poor on validation data. It is therefore used to decide whether the model needs more data, simplification or improvement.