Deep Learning Fundamentals
Build and train feed-forward neural networks in PyTorch, explain backpropagation, losses and optimizers, and debug training from its curves.
3 objectives 6 steps about 140 min
Learn it step by step
Read the lessons in order, try the practice checks, then prove the skill with the knowledge check.
This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.
Learning objectives
- Explain how a forward pass, a loss, backpropagation and an optimizer step update the weights, and inspect gradients with PyTorch autograd.
- Implement a PyTorch training and evaluation loop for a multilayer perceptron with nn.Module, a DataLoader, a suitable loss and an optimizer such as SGD or AdamW.
- Diagnose training from loss and metric curves (underfitting, overfitting, divergence, vanishing or exploding gradients) and apply fixes such as learning-rate schedules, initialization, normalization, dropout, weight decay and early stopping.
Lesson plan
6 steps, about 140 min · 5 of 5 lessons available so far
- From Logistic Regression to a Neural Network Concept · 20 min
- Backpropagation and Autograd, Step by Step Worked example · 25 min
- Lab: Your First PyTorch Training Loop Lab · 30 min
- Optimizers, Learning Rates and Schedules Concept · 20 min
- Lab: Reading Loss Curves and Fixing a Broken Run Lab · 30 min
- Check: Why Did Training Fail? Knowledge check · 6 questions
Practise it
Train an MLP on Fashion-MNIST or a tabular dataset in plain PyTorch: first overfit a single batch to prove the loop is correct, then reach a target validation accuracy, and document two deliberately broken runs (for example an excessive learning rate and a missing model.eval()) with their curves and fixes.
Build it from scratch
Practice builds that exercise this skill by re-creating a real technology.
- Build your own Neural NetworkIntermediate · 6–12 h
- Build your own Deep Learning FrameworkAdvanced · 20–40 h
References
Hard prerequisites
Unlocks
On these roadmaps
Progress and evidence for this skill are shared across all of them.