Neural Networks
These video lessons accompany Chapter 10 (Neural Networks) from The Nature of Code book.
- #10.1
Introduction to Neural Networks
26 Jun 2017Welcome to Chapter 10 of The Nature of Code: Neural Networks. In this video, I provide a brief introduction neural networks and an overview of topics in upcoming videos.
- #10.1
Doodle Classifier Introduction Intelligence and Learning
05 Mar 2018In this series, I build a “doodle classifier” using the Google “Quick, Draw!” dataset and my JavaScript neural network library.
- #10.2
Neural Networks Perceptron Part 1
08 Jun 2017In this video, I continue my machine learning series and build a simple Perceptron in Processing (Java).
- #10.2
Doodle Classifier Prepping Data in Processing Intelligence and Learning
06 Mar 2018In this “doodle classifier” video, I cover how to parse the Google Quick Draw dataset with Processing and prepare it for use with the JavaScript neural network library.
- #10.3
Neural Networks Perceptron Part 2
19 Jun 2017This is a follow-up to my Perceptron Video (https://youtu.be/ntKn5TPHHAk)
- #10.3
Doodle Classifier Prepping Data in p5.js Intelligence and Learning
06 Mar 2018In part 3 of the “doodle classifier” series, I use the Google Quick Draw data prepared in Processing and import it into a p5.js JavaScript sketch.
- #10.4
Neural Networks Multilayer Perceptron Part 1
27 Jun 2017In this video, I move beyond the Simple Perceptron and discuss what happens when you build multiple layers of interconnected perceptrons (“fully-connected network”) for machine learning.
- #10.4
Doodle Classifier Training Intelligence and Learning
07 Mar 2018In this video, I create a neural network object and train it with a subset of the Google Quick Draw dataset.
- #10.5
Neural Networks Multilayer Perceptron Part 2
30 Jun 2017This video follows up on the previous Multilayer Perceptron video. Here I begin the long process of coding a simple neural network library in JavaScript.
- #10.5
Doodle Classifier Testing Intelligence and Learning
07 Mar 2018In this video I “test” the neural network’s classification accuracy with drawings from Google Quick Draw dataset not used for training.
- #10.6
Neural Networks Matrix Math Part 1
02 Jul 2017In this video, I introduce the idea of “Linear Algebra” and explore the matrix math required for a simple neural network library.
- #10.6
Doodle Classifier Classifying User Data Intelligence and Learning
08 Mar 2018In this video, I use the p5.js library to create a drawing canvas for the user and attempt to classify doodles using the trained neural network model.
- #10.7
Neural Networks Matrix Math Part 2
03 Jul 2017This video is a continuation of my first Matrix Math video where I implement in JavaScript the math operations that I need in order to create my own simple neural network library.
- #10.8
Neural Networks Updating Code to ES6
09 Jan 2018In this video, I update the matrix.js file to use ES6 classes.
- #10.9
Neural Networks Matrix Math Part 3
09 Jan 2018This video continues the “Matrix Math” series where I attempt to implement in JavaScript the math operations required for a simple neural network library. In this 3rd part, I implement matrix multiplication (“matrix product”).
- #10.10
Neural Networks Matrix Math Part 4
10 Jan 2018This video continues the “Matrix Math” series where I attempt to implement in JavaScript the math operations required for a simple neural network library. In this 4th part, I implement a
transpose()
function for a matrix. - #10.11
Neural Networks Matrix Class Improvements
15 Jan 2018In this video, I make small improvements to the Matrix class for th upcoming neural network example. Those improvements are: static methods, a “print” method, and a “map” method.
- #10.12
Neural Networks Feedforward Algorithm Part 1
18 Jan 2018In this video, I tackle a fundamental algorithm for neural networks: Feedforward. I discuss how the algorithm works in a Multi-layered Perceptron and connect the algorithm with the matrix math from previous videos.
- #10.13
Neural Networks Feedforward Algorithm Part 2
22 Jan 2018This 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.
- #10.14
Neural Networks Backpropagation Part 1
23 Jan 2018In this video, I discuss the backpropagation algorithm as it relates to supervised learning and neural networks.
- #10.15
Neural Networks Backpropagation Part 2
24 Jan 2018In this video, I begin implementing the backpropagation algorithm in my simple JavaScript neural network library.
- #10.16
Neural Networks Backpropagation Part 3
05 Feb 2018In this video, I discuss how “gradient descent” can be used to adjust the weights during back propagation in my “toy” JavaScript neural network library.
- #10.17
Neural Networks Backpropagation Part 4
06 Feb 2018In this video, I implement the formulas for “gradient descent” and adjust the weights in the
train()
function of my “toy” JavaScript neural network library. - #10.18
Neural Networks Backpropagation Part 5
07 Feb 2018In this video, I implement the formulas for “gradient descent” and adjust the bias in the
train()
function of my “toy” JavaScript neural network library. I also test the library with a simple XOR dataset.