Homework 2

3 minute read

Submission date: December 23rd, 2021


  • Multilayer perceptrons
  • Decision boundaries
  • Threshold selection
  • Convolutional neural networks
  • Residual blocks
  • Network architecture


The assignment is available here (use the download button at the top).

Update 1: Download here.


Make sure to read the getting started page and the guide for using course servers (relevant for part 3).

Please ask all questions regarding the assignment on the course Piazza.


Update 1

  • Changed the method for comparing actual vs expected outputs for CNNs and ResNets in part 2. This should provide more rubustness to numerical differences across machines.
  • Updated the jupyter-lab.sh script.

No code changes should be required on your part. To use this update, make sure to replace everything except for your code files (hw2/hw2/*.py). You can unzip it to a new folder and copy only the code files with your solutions from the previous version to the new version’s folder.