In this live stream, I explain the math behind gradient descent from my previous linear regression video. I also begin exploring the content from Session 4 of the “Intelligence and Learning” course. I build a simple Perceptron example in Processing.

This video is part of the third and fourth session of my ITP “Intelligence and Learning” course (

Edited videos:
Maths of Gradient Descent:
Perceptron:

24:00 – Maths for Gradient Descent
1:39:59 – Coding Challenge: Perceptron

Simple Perceptron code examples:
p5.js:
Processing:

To support this channel:
Patreon:
Coding Train Merchandise:
Donate to the Processing Foundation:

Send me your questions and coding challenges!:

Contact:
Twitter:
The Coding Train website:

Links discussed in this video:
Session 3 of Intelligence and Learning:
Session 4 of Intelligence and Learning:
Nature of Code:
3Blue1Brown’s Youtube channel:
My Gradient Descent video:
Perceptron on Wikipedia:

Books:
Frank Rosenblatt’s paper on the Perceptron:
Make Your Own Neural Network:
Calculus Made Easy:

Source Code for the all Video Lessons:

p5.js:
Processing:

For more Intelligence and Learning videos:
For an Introduction to Programming:
For my Nature of Code videos:
For More Live Streams:
For More Coding Challenges:

Help us caption & translate this video!

Help us caption & translate this video!