ML glossary › Gradient
What is gradient in machine learning?
The slope in every direction at once. It points uphill.
Where it shows up
Math toolkit
Derivatives and slopes
If the slope is positive, stepping left lowers f. If negative, step right. Always moving against the slope walks you downhill. That is gradient descent in one sentence.
See gradient in motion. The lesson animates it step by step, free.
Open the lessonRelated terms
- Slope: How steep something is. Positive goes up to the right, negative goes down.
- Derivative: The slope of a curve at one point: how fast it goes up or down.