Detecting overfitting