AI GlossaryGradient Descent

[Machine Learning]

Gradient Descent.

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

In-depth explanation

01

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

02
EX. 01

Training neural networks

EX. 02

Fitting linear regression

[NEXT] — APPLY THE CONCEPT

Master Gradient Descent.

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