...

/

Exercise: Using Gradient Descent to Minimize a Cost Function

Exercise: Using Gradient Descent to Minimize a Cost Function

Learn how to use the gradient descent method to minimize the cost function.

Approach to minimize the cost function

In this exercise, our task is to find the best set of parameters in order to minimize the following hypothetical cost function: y=f(x)=x2–2xy = f(x) = x^2 – 2x ...