The goal D AI developer
Train your first neural network
Build and train a small neural network in PyTorch, and understand every step: forward pass, loss, gradients and updating the weights.
- Knowledge nodes
- 30
- From zero
- about 19 h
- Labs
- 6
See what you already know — no account
The diagnostic removes what you already know, so your path is usually much shorter.
What you can do afterwards
Labs along the way
You write the code. Tests you cannot see decide whether it holds up.
Lab: train a digit classifier in PyTorchDa sandbox · about 60 minProject 2: Build a neural network from scratchDa sandbox · about 150 minLab: a neural network in pure NumPy — forward, backprop, gradient checkDa sandbox · about 75 minLab: dot product, norm and cosine similarityDin the browser · about 40 minLab: gradient descent from scratchDin the browser · about 50 minLab: matrix multiplication and one layer of a neural networkDin the browser · about 45 min
The whole path
Everything the goal builds on, grouped by level and in the order it builds on itself. Show on the map
AExplorer2 knowledge nodes
BInvestigator5 knowledge nodes
CBuilder8 knowledge nodes
DAI developer15 knowledge nodes
- Derivatives and optimisation
- Python — functions, scope and exceptions
- Python — modules, packages and virtual environments
- Git — version control
- Gradient descent
- Precision, recall, F1 and ROC
- Vectors
- Matrices and matrix multiplication
- Neural networks — the forward pass with matrices
- Backpropagation
- PyTorch — tensors and autograd
- Dataloaders, batches and epochs
- Train a neural network in PyTorch
- MNIST from scratch
- Project D: a classifier of your own in PyTorch