In every statistical model, the aim is to predict the dependent variable, after obtaining the predicted values we compare it to the actual values, let's assume we are examining a non-linear relationship and we are having the following cases:
Of course the squared errors in the first two cases will be so high, and in third case we'll have small squared errors.
Could the three cases respectively be an indicator for overfitting, underfitting and good fitness.