1 / 10
INTRO

Iterative Parameter Optimization

For simple linear regression, we can calculate the optimal slope and intercept using closed-form analytical formulas.

But when a dataset is very large, or a model has many parameters, those formulas become impractical to compute. In that case we find the parameters step by step instead, using an optimization method called Gradient Descent.