This lesson explores Gradient Descent as a process of finding the local minimum of a function by stepping in the direction of steepest descent, guided by the local slope.
Identify the function
Define the cost function you wish to minimize, such as the Mean Squared Error.
Calculate the derivative
Compute the partial derivative of the function with respect to your parameter.
Update parameter
Subtract the gradient (scaled by alpha) from the current value to move closer to the minimum.
Original question
EXPLAIN HOW GRADIENT DESCENT WORKS
Ask me anything about this lesson. I'll answer using what we just covered.