# Gradient Descent

In the previous lessons, we learned how the linear regression model estimates the relationship between the feature columns and the target column and how we can use that for making predictions. In this lesson and the next, we’ll discuss the two most common ways for finding the optimal parameter values for a linear regression model. Each combination of unique parameter values forms a unique linear regression model, and the process of finding these optimal values is known as model fitting.

In this lesson, we’ll explore an iterative technique for solving this problem, known as gradient descent. The gradient descent algorithm works by iteratively trying different parameter values until the model with the lowest mean squared error is found. Gradient descent is a commonly-used optimization technique for other models as well, like neural networks, which we’ll explore later in our Deep Learning Fundamentals course.

As you work through each concept in this lesson on gradient descent in machine learning, you’ll get to apply what you’ve learned from within your browser so that there’s no need to use your own machine to do the exercises. The Python environment inside of this course includes answer checking so you can ensure that you’ve fully mastered each concept before learning the next concept.

## Objectives

- Learn about optimization problems.
- Learn the theory behind the gradient descent algorithm.

## Lesson Outline

- Introduction
- Single Variable Gradient Descent
- Derivative Of The Cost Function
- Understanding Multi Parameter Gradient Descent
- Gradient Of The Cost Function
- Gradient Descent For Higher Dimensions
- Next Steps
- Takeaways

Get started for free

No credit card required.

By creating an account you agree to accept our terms of use and privacy policy.