What is gradient?
The vector of partial derivatives of a function, written . 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 is the vector of all partial derivatives.
- points uphill, and its length is the steepness. points downhill.
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.