Predictive Modeling: Regression Fit Lab
Interactive regression simulator: watch gradient descent fit a polynomial surface to noisy train/test data in real time, and see how raising model complexity trades underfitting for overfitting through live train/test MSE and R² readouts.
Predictive modeling turns past observations into forecasts by fitting a mathematical relationship between predictors and an outcome, then checking whether that relationship generalizes to data it never saw during training. This simulator visualizes that whole loop: a polynomial regression surface is fit to a noisy 3D dataset by live gradient descent, with separate training and test point clouds so you can watch the classic underfitting-to-overfitting trade-off play out as model complexity, data noise and learning rate change, tracked in real time through train/test MSE and R².
Interactive regression simulator: watch gradient descent fit a polynomial surface to noisy train/test data in real time, and see how raising model complexity trades underfitting for overfitting through live train/test MSE and R² readouts.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install