Minimizing the cost function: Gradient descent

How the gradient descent algorithm works and implements in python?

XuanKhanh Nguyen
Towards Data Science
14 min readJun 29, 2020

--

Photo by Gabriel on Unsplash

Imagine you are at the top of a mountain and want to descend. There may be many available paths, but you want to reach the bottom with a minimum number of steps. How can you come up with a solution? To answer that question, we will solve the gradient descent problem.

--

--

Interests: Data Science, Machine Learning, AI, Stats, Python | Minimalist | A fan of odd things.