π Find the model that does not overfit
Data & AIA more complex model fits the training data better, but past a point it memorises noise and does worse on new data. Choose model complexity and data size and watch training vs test error. (Illustrative curve.)
β Level 1: Trainee0 XP Β· next level at 300
Training error0.01
Test error (new data)β 1.238
Gap (overfitting)β 1.228
Overfitting: great on training data, poor on new data. Simpler model or more data.
π How it works
Error on new data = bias (too simple) + variance (too sensitive to the training sample) + noise. More data shrinks variance. Always judge a model on data it has never seen.
Test error β biasΒ² + variance + noise Β· bias falls with complexity, variance rises with complexity Γ· data sizeA simplified textbook model for learning. Real designs follow the full codes and standards.