Gradient

Courses

∇\nabla∇The maths behind AI0/72
π\piπMaths0/84
⋆\star⋆AI for everyone0/10
Γ\GammaΓGame theory0/49
py\texttt{py}pyPython for AI0/15
y^\hat{y}y^​Build your own AI0/15
All courses

Tuition

My tuitionOlympiad trackCompetitions

Practice

ProjectsAsk a questionTrain on a GPUExplorationsMaths StoriesUnsolved problemsPlaygroundScience labsMock testsOlympiad

Reference

GlossaryBlogDiscoveries
Blog › Explore in 3D

25 November 2026 · 3 min readInteractive 3D

Close-up of a circuit board
Photo by Nicolas Thomas on Unsplash

What is noise in data? Why models miss points

Real data is messy. A model that bends to hit every point is memorising the mess. See the difference between signal and noise.

Measure ten people’s heights twice and you will get slightly different numbers. Prices vary for reasons nobody wrote down. That random wobble in real data is called noise, and a good model learns to ignore it.

Set the noise to 0 and fit, then set it high and fit again. The plane barely moves; the errors do.

Signal and noise

The signal is the real pattern: bigger houses cost more. The noise is everything else. With no noise, the points sit exactly on a plane and the fit is perfect. With lots of noise, the points scatter, but the best plane hardly changes, because the trend underneath is the same.

The danger of fitting too well

A very flexible model could twist itself through every single point. It would score perfectly on the data it saw and badly on anything new, because it learned the noise as if it were the signal. That is overfitting, one of the most important ideas in machine learning.

  • Keep some data aside to test on.
  • Prefer simpler models when they do almost as well.
  • Collect more data: noise averages out, signal does not.

An example you can picture

Weigh yourself five times in a row and you might see 52.3, 52.1, 52.4, 52.2 and 52.3 kg. Your true weight did not change; the small wobble is noise from the scale and how you stood. A sensible model reports about 52.3 kg, not a wiggly line through every reading.

Overfitting, worked out

Take ten points that really lie near a straight line plus noise. A straight line misses each point slightly. A curve of degree 9 can pass through all ten exactly, with zero error on the training data. But between the points it swings wildly, so on new data it does far worse than the simple line.

  1. Straight line: training error small, test error small
  2. Degree-9 curve: training error zero, test error large
  3. Lesson: low training error alone is not the goal

How people prevent it

  • Keep some data aside as a test set and judge the model on that.
  • Prefer simpler models unless the data clearly needs more.
  • Regularisation: penalise very large weights so the curve stays smooth.
  • Collect more data, which makes the true pattern easier to see.

Underfitting is the opposite problem: a model too simple to capture the real pattern, like a straight line through data that curves.

Bias and variance

Errors come from two sources. Bias is being consistently wrong because the model is too simple. Variance is being unstable because the model reacts to every bit of noise. Good models balance the two, which is called the bias–variance trade-off.

Glossary

  • Signal: the real pattern in the data.
  • Training set: data used to fit the model.
  • Test set: data kept aside to judge it.
  • Regularisation: a penalty that keeps the model simple.

Try these yourself

  1. Q1. Training error 2%, test error 25%: overfitting or underfitting? Overfitting
  2. Q2. Training error 30%, test error 31%: underfitting, the model is too simple
  3. Q3. Five readings 20.1, 19.9, 20.0, 20.2, 19.8: best estimate? 20.0
  4. Q4. Name one way to reduce overfitting: more data, a simpler model, or regularisation

Signal and noise in daily life

One bad test mark does not mean you have forgotten a topic; a steady fall over several tests probably does. Separating a real trend from random wobble is the same skill a good model needs.

In short

Real data is pattern plus noise. A good model captures the pattern and ignores the noise, which you check by testing on data it has not seen.

Keep going

  • Glossary: overfitting
  • Lesson: regularisation
  • Linear regression in 3D
  • What is early stopping?
  • What is weight decay?
  • What is supervised learning?
  • What is k-means clustering? Finding groups
  • Where is clustering used in real life?
  • What are word embeddings? Words as points

Read and listen in

Indian languages

World languages

Questions people ask

What is noise in data?

Random variation that is not part of the real pattern, caused by measurement errors and chance.

What is overfitting?

When a model learns the noise in its training data so closely that it does badly on new data.

How do you know if a model is overfitting?

Its error on training data is much lower than its error on data it has not seen.

More articles

  • What is k-means clustering? Finding groups
  • Where is clustering used in real life?
  • What are word embeddings? Words as points