Phase 2 · Weeks 5-12

Machine Learning to CNNs

The longest phase, and the core of your classical skill set. Spine: Géron's Hands-On Machine Learning for fundamentals, then Stanford CS231n for deep learning and CNNs, with PyTorch as your daily tool from week 8 on.

Spine: Géron ch. 1-4, 10-14 + CS231n Tool: PyTorch References: cs231n.github.io, deeplearningbook.org
Prefer top-down learning?

If Phase 1 felt slow and you learn best by building first and dissecting later, swap weeks 5-9 for fast.ai Practical Deep Learning for Coders lessons 1-5, then rejoin at week 10. Do one or the other, never both.

Week 5

The machine learning landscape

What learning from data means: generalization, overfitting, the train/validation/test discipline, and metrics you can defend.

Study

Exercises

Checkpoint

You can say precisely why a model with 99 percent accuracy can still be useless (class imbalance) and which metric you would use instead.

Week 6

Training models, and how they fail

Study

Exercises

Checkpoint

You can derive the gradient of the logistic loss on paper.

Week 7

Neural networks from scratch

The week the magic becomes mechanism. You will never fear a deep learning bug the same way after writing backprop yourself.

Watch

3Blue1Brown's neural network series - intuition before implementation.
CS231n (Spring 2017) - lectures 2-4 this week: classifiers, loss functions, backpropagation. Course notes at cs231n.github.io.

Exercises

Checkpoint

Your from-scratch network trains, and you can trace where each gradient term comes from.

Week 8

PyTorch

Study

Exercises

Checkpoint

You can build and train a new architecture from a blank file without looking at a tutorial.

Week 9

Convolutional networks

The architecture this whole course is named after. Convolution as learned filters, weight sharing, receptive fields, pooling.

Study

Exercises

Checkpoint

Given input 32x32x3, a 5x5 conv with 16 filters, stride 1, pad 2 - you can state the output shape and parameter count in your head.

Week 10

The craft of training

Where practitioners are separated from tutorial-followers: initialization, normalization, optimizers, schedules, augmentation, and reading learning curves like an engineer.

Study

Exercises

Checkpoint

Shown a loss curve that plateaus immediately, or one that diverges, you can name the two most likely causes of each.

Week 11

CNNs for signals, not images

Radio data is 1D, complex-valued, and time-structured. This week bridges everything to Capstone A.

Study

Exercises

Checkpoint

You can explain why weight sharing makes convolution the right prior for signals (translation invariance in time).

Week 12

Consolidation

No new material. Close gaps, clean up your lab notebook, and take the gate seriously - Capstone A assumes all of it.

Exercises

Phase gate: self-test before Capstone A

Target: 8 of 10, closed book.

  1. Why does dividing data into train/validation/test require the test set to be touched exactly once?
  2. Derive the softmax cross-entropy gradient with respect to logits (the famous p - y).
  3. What problem does batch normalization solve, and where does it sit in a layer?
  4. Parameter count of a Conv1d layer: in_channels 2, out_channels 64, kernel 7?
  5. Why do residual connections make deep networks trainable?
  6. Name two augmentations valid for I/Q radio data and one image augmentation that would be invalid - and why.
  7. Your training loss falls but validation loss rises from epoch 3. Diagnosis and two remedies?
  8. Why is a CNN a better prior than an MLP for signal data, in one sentence?
  9. What did O'Shea 2016 use as input representation, and what accuracy regime did they reach at high SNR?
  10. Sketch (boxes and arrows) the architecture you would start with for 128-sample I/Q classification, with shapes at each stage.