In this video, I explain the mathematics behind Linear Regression with Gradient Descent, which was the topic of my previous machine learning video (

This video is part of session 3 of my Spring 2017 ITP “Intelligence and Learning” course (

3Blue1Brown’s Essence of Calculus:

My videos on calculus:
Power Rule:
Chain Rule:
Partial Derivative:

Support this channel on Patreon:
To buy Coding Train merchandise:
Donate to the Processing Foundation:

Send me your questions and coding challenges!:

The Coding Train website:

Links discussed in this video:
Session 3 of Intelligence and Learning:
3Blue1Brown’s Essence of Calculus:

Source Code for the all Video Lessons:


For More Coding Challenges:
For More Intelligence and Learning:

Help us caption & translate this video!