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 lessonRelated terms
- Derivative: The slope of a curve at one point: how fast it goes up or down.
- Gradient: The slope in every direction at once. It points uphill.