Work a neural network out by hand
How neural networks learn. From neurons and layers to gradient descent and backpropagation, with high-school math.
11 lessons · 1 hr 24 min of video · 22 quiz questions
Try a question from this course
In a multiplication node A × B, how is the downstream gradient passed to A?
What you'll be able to do
- Explain what a neuron, weight, bias and layer are, and compute a small network's output by hand
- Say why hidden layers and nonlinear activations are needed
- Explain a cost function and how gradient descent uses the gradient to reduce it
- Work through backpropagation on a one-weight example and explain the chain rule's role
- Describe the training loop and mini-batch stochastic gradient descent
What's in it
What a neural network is
A network is just a big function built from weighted sums. By the end you can compute one by hand and explain why depth matters.
How a network learns: cost and gradient descent
Learning is minimizing a cost, and the gradient tells every weight which way to move.
Backpropagation
How the gradient of all 13,000 parameters is actually computed: first with one weight, then in a graph, then as nudges flowing backward.
Made from these videos
- But what is a neural network? | Deep learning chapter 1 · 3Blue1Brown
- Why Do We Need Hidden Layers? XOR Example with a Single Hidden Layer Neural Network Explained! · Dr. Data Science
- How Neural Networks Learn Concepts · Art of the Problem
- Best Explanation of Partial Derivatives and Gradients · Brain Station Advanced
- Gradient descent, how neural networks learn | Deep Learning Chapter 2 · 3Blue1Brown
- 0:03 / 9:21The Absolutely Simplest Neural Network Backpropagation Example · Mikael Laine
- The Most Important Algorithm in Machine Learning · Artem Kirsanov
- Backpropagation, intuitively | Deep Learning Chapter 3 · 3Blue1Brown
























