AI Glossary/Gradient Descent
Machine Learning

Gradient Descent

An optimization algorithm that iteratively adjusts model parameters to minimize the loss function.

In-depth explanation

Gradient descent calculates the gradient (slope) of the loss function with respect to each parameter and takes steps in the direction that reduces the loss. Variants include batch gradient descent (uses all data), stochastic gradient descent (uses one sample), and mini-batch gradient descent (uses small batches). Learning rate controls step size.

Examples

Training neural networks
Fitting linear regression

Master Gradient Descent.

Learn how to apply this concept with hands-on projects in our comprehensive AI programs.