Gradient LabSign up free

ML glossary › Slope

What is slope in machine learning?

How steep something is. Positive goes up to the right, negative goes down.

Where it shows up

Math toolkit

Derivatives and slopes

Maya asks a sharp question: if we nudge one of the model’s numbers, does the error go up or down? That is exactly what a slope tells you.

Regression and optimization

Gradient descent

Imagine standing on a hill in thick fog. You can’t see the bottom, but you can feel which way the ground tilts. Here the slope is +1.75: it rises to the right, so downhill is to the left.

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

Open the lesson

Related terms