Statistics and AI
A model can fit the past beautifully and still predict badly.
This prototype introduces regression and overfitting by comparing training error with test error. Learners can change model complexity, noise and the amount of training data.
The aim is to make a central idea in statistics and machine learning visible: fitting data is not the same as understanding the pattern.
Regression lab
Fit a model and watch generalisation change
The blue points are training data used to fit the model. The orange points are test data used to ask whether the model generalises beyond the data it saw.
Model degree
1
Training MSE
1.594
Test MSE
1.253
Generalisation gap
-0.34
Joy in the process
The point is not just to finish. It is to notice, test and return.
These tools are invitations to explore. A good mistake, a surprising pattern or a question you cannot yet answer is part of the work, not a failure of it.
The challenge is deliberate: the site should support thinking, not remove the need for it.
Future extensions