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
Glossary › Gradient

What is gradient?

The vector of partial derivatives of a function, written ∇f\nabla f∇f. It points in the direction of steepest increase.

Where it is taught

Gradients. A model's error depends on millions of parameters at once. The gradient collects one slope per parameter into a single vector that points uphill.

What the lesson leaves you with

  • A partial derivative is the slope along one input with the others held fixed.
  • The gradient ∇f\nabla f∇f is the vector of all partial derivatives.
  • ∇f\nabla f∇f points uphill, and its length is the steepness. −∇f-\nabla f−∇f points downhill.
Open the lesson

Questions

What is gradient?
The vector of partial derivatives of a function, written nabla f. It points in the direction of steepest increase.
Where is gradient used in AI?
A model's error depends on millions of parameters at once. The gradient collects one slope per parameter into a single vector that points uphill.
What is the key idea to remember about gradient?
A partial derivative is the slope along one input with the others held fixed.
Where can I learn gradient step by step?
In the lesson “Gradients” in Gradient’s course on the maths behind AI, with interactive diagrams and questions.

See it in 3D on the blog

  • What is a partial derivative? Slopes two ways3 min

Related terms

  • Backpropagation
  • Chain rule
  • Derivative
  • Saddle point