Sitemap

Math behind the Gradient Descent Algorithm

5 min readAug 6, 2022

--

Source: https://ml-cheatsheet.readthedocs.io/en/latest/gradient_descent.html
Source: Deep Learning IIT Ropar — Mitesh Khapra

This brings us to the most fundamental question. What is the right Δθ to use or what is an optimal direction of movement for reaching the minima?

Answer to this can be derived using the Taylor Series

Press enter or click to view image in full size

If you are at a certain value of θ[w, b] and want to move to a newθ[w, b]such that the new loss is less than the current loss, Gradient Descent Algorithm tells us we should move in a direction opposite to the gradient.

--

--

Harjot Kaur
Harjot Kaur

Written by Harjot Kaur

I’m a non-engineer on a mission to simplify AI. I share accessible insights to help beginners break into this field. Let's learn and demystify AI together!