Polynomial Fits
Fits polynomials of increasing degree to noisy data and shows the resulting overfitting.
Apurva Nakade
July 17, 2026
Model fitting chooses parameters so a model matches observed data as closely as possible. The apps below explore how model complexity trades off against stability: a model with more free parameters can always fit the data at least as well, but it can also become far more sensitive to the data’s noise.
Visual Math Lab would like to count page visits. It tells us which topics are being read, so that effort goes where it is most useful. No advertising, no personal information, and nothing shared with third parties. The mathematics you enter never leaves your browser. What is collected.
No cookies are stored by this site, at any point, for any purpose. This notice is shown because GDPR and the ePrivacy Directive require opt-in consent before any tracking technology runs, cookies or not.
This site is meant for larger screens. If a plot isn't fully visible, tap its fullscreen button.