video thumbnail 54:50
I Created a Neural Network and Tried Teaching it to Recognize Doodles

2022-08-12

[public] 35.0K views, 56.5K likes, dislikes audio only

channel thumbSebastian Lague

Exploring how neural networks learn by programming one from scratch in C#, and then attempting to teach it to recognize various doodles and images.

Source code: https://github.com/SebLague/Neural-Network-Experiments

Demo: https://sebastian.itch.io/neural-network-experiment

If you'd like to support me in creating more videos (and get early access to new stuff), you can join my patreon here: https://www.patreon.com/SebastianLague

The data is from:

Digits http://yann.lecun.com/exdb/mnist/

Fashion https://github.com/zalandoresearch/fashion-mnist

Doodles https://github.com/googlecreativelab/quickdraw-dataset

Cifar10 https://www.cs.toronto.edu/~kriz/cifar.html

Chapters

0:00 Introduction

2:39 The decision boundary

3:49 Weights

5:42 Biases

6:45 Hidden layers

7:45 Programming the network

9:57 Activation functions

12:42 Cost

15:07 Gradient descent example

18:22 The cost landscape

19:55 Programming gradient descent

21:10 It's learning! (slowly)

23:21 Calculus example

27:34 The chain rule

29:50 Some partial derivatives

33:14 Backpropagation

39:25 Digit recognition

43:56 Drawing our own digits

47:37 Fashion

48:25 Doodles

52:00 The final challenge

Music:

Cosmic Waves - Michael FK

Amber - The Stolen Orchestra

Beyond the Horizon - Sounds Like Sander

Air - Assaf Ayalon

Purest Form - Sounds Like Sander

Hear Wide Open - Sounds Like Sander

Universal Wonder - Moments

Roman P - Moments

All In Good Time - Shimmer

It Will Come Back - The Stolen Orchestra

Frontier - Shimmer

New Moon - Cloud Wave

Sunflower - Cody Martin

Inner Peace - Moments

Enchanted - Cody Martin

Just Around The Corner - Shimmer


Introduction
/youtube/video/hfMk-kjRv4c?t=0
The decision boundary
/youtube/video/hfMk-kjRv4c?t=159
Weights
/youtube/video/hfMk-kjRv4c?t=229
Biases
/youtube/video/hfMk-kjRv4c?t=342
Hidden layers
/youtube/video/hfMk-kjRv4c?t=405
Programming the network
/youtube/video/hfMk-kjRv4c?t=465
Activation functions
/youtube/video/hfMk-kjRv4c?t=597
Cost
/youtube/video/hfMk-kjRv4c?t=762
Gradient descent example
/youtube/video/hfMk-kjRv4c?t=907
The cost landscape
/youtube/video/hfMk-kjRv4c?t=1102
Programming gradient descent
/youtube/video/hfMk-kjRv4c?t=1195
It's learning! (slowly)
/youtube/video/hfMk-kjRv4c?t=1270
Calculus example
/youtube/video/hfMk-kjRv4c?t=1401
The chain rule
/youtube/video/hfMk-kjRv4c?t=1654
Some partial derivatives
/youtube/video/hfMk-kjRv4c?t=1790
Backpropagation
/youtube/video/hfMk-kjRv4c?t=1994
Digit recognition
/youtube/video/hfMk-kjRv4c?t=2365
Drawing our own digits
/youtube/video/hfMk-kjRv4c?t=2636
Fashion
/youtube/video/hfMk-kjRv4c?t=2857
Doodles
/youtube/video/hfMk-kjRv4c?t=2905
The final challenge
/youtube/video/hfMk-kjRv4c?t=3120
Sebastian Lague Hello, on this channel I explore how to create stuff out of code. I hope you find some of it interesting!
/youtube/channel/UCmtyQOKKmrMVaKuRXz02jbQ
Support on Patreon patreon.com
https://www.patreon.com/SebastianLague/
Coding Adventure: Chess 2,962,515 views
/youtube/video/U4ogK0MIzqk
I Spent a Week Making an AI's Video Game Idea 3,001,872 views
/youtube/video/PGk0rnyTa1U