Gradient LabSign up free

ML glossary › Residual

What is residual in machine learning?

How far off a guess was: the true value minus the guess.

Where it shows up

Regression and optimization

Linear regression

The gap between the real price and the line’s guess is the residual: how much the line missed by. A good line keeps these gaps small.

See residual in motion. The lesson animates it step by step, free.

Open the lesson