Neural networks
For engineers
How layers of weighted sums and nonlinear activations learn features, how backpropagation trains them and how big networks are kept from memorizing
110 questions across four stages: Understand, Apply, Solve and Judge.
Try 5 questions
Practice items, not counted towards your mastery. No account needed.
Check yourself · 1 of 5
A neuron has weights [1, -2], bias 1 and ReLU activation. The input is [3, 2]. What does it output?
Check yourself · 2 of 5
A batch X of shape (64, 100) goes through a layer with weight matrix W of shape (100, 30). What is the shape of X @ W?
Check yourself · 3 of 5
In L = (w * x - t)^2 with x = 2, w = 1 and t = 5, what is dL/dw?
Check yourself · 4 of 5
What does a residual connection compute?
Check yourself · 5 of 5
Training loss keeps falling while validation loss starts rising. What does this indicate?
Topics
- Neurons, weights and activation functions4 min read · Weighted sums plus nonlinearities such as ReLU and GELU, and why a stack of layers without them stays one linear map
- Tracing a forward pass through layer shapes4 min read · Following an input batch through each matrix multiply, bias and activation to logits and softmax probabilities
- Backpropagation and the chain rule5 min read · How the error signal flows backward layer by layer so every weight gets its own gradient
- Why deeper networks learn richer features4 min read · Layers that build edges into shapes into objects, and the vanishing gradients that residual connections and normalization solved
- Dropout, weight decay and early stopping5 min read · Keeping large networks from memorizing training data with dropout, weight decay, data augmentation and stopping at the best validation point
Start here
- Neural networks series (3Blue1Brown) (opens in a new tab)VideoFree
Animated walk through neurons, layers, gradient descent and backpropagation with the chain rule drawn out.
- Neural Networks and Deep Learning (Michael Nielsen) (opens in a new tab)BookFree
Free online book that derives backpropagation step by step and builds a digit classifier in Python.
- Deep Learning (Goodfellow, Bengio, Courville) (opens in a new tab)BookFree
The standard textbook; chapters on feedforward networks, optimization and regularization.
Helps to know first
110 questions · last verified 2026-12