Back to curriculum
Builder project·2-3 hours

Neural Network Debugging Project

Repair a broken training loop using shape checks, gradient evidence, a tiny-batch test, and learning curves.

Scenario

A binary MLP remains at chance accuracy. You are given a tiny deterministic case and must identify whether the defect is in the forward pass, loss, gradients, or update.

You will demonstrate

  • Use invariants to localize training defects.
  • Verify gradients independently.
  • Separate optimization health from generalization.

Project evidence

Complete each deliverable.

Runnable Python lab

Repair a broken scalar update

Implement the gradient and update needed to fit a one-weight model.

Project defense

What should be checked first when a tiny MLP cannot overfit eight deterministic examples?

Assessment rubric

  • Assertions localize failures.
  • Gradient parity uses a stated tolerance.
  • The tiny-batch test is deterministic.
  • The fix includes a regression check.

Project completion gate

Complete all deliverables, pass the automated code checks, and defend the key decision.

Deliverables 0/4Code pendingDefense pending