This video is a continuation of the Feedforward algorithm video. In this part, I implement the code for the algorithm in a NeuralNetwork class written in JavaScript.

Next Video:

This video is part of Chapter 10 of The Nature of Code (

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

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

Send me your questions and coding challenges!:

The Coding Train website:

Links discussed in this video:
The Coding Train Amazon Shop:
Math.exp() on MDN:
Sigmoid Function on Wikipedia:

Videos mentioned in this video:
3Blue1Brown Neural Networks playlist:

Source Code for the all Video Lessons:


The Nature of Code playlist:
For More Coding Challenges:
For More Intelligence and Learning: