Skip to the content.

Programming assignment 3: Neural networks

In this assignment, you will complete the two different implementations of a single artificial neuron and also implement a multilayer perceptron. All the resources you need are provided in the starter repo for this assignment, which is available in the course GitHub org.

To complete the assignment, add and/or alter code at the locations of the string “TODO” in the followingthree source files:

  1. gym_decision/gym_decision_neuron_raw.py
  2. gym_decision/gym_decision_neuron_pytorch.py
  3. dry_bean/src/dry_bean.py.

Work on the files in the order given above. Some unit tests are provided to help with correctness.

To turn in this assignment, push changes to your private assignment repo in course GitHub org. Grading will be based largely on completeness and correctness.


AI Use

The AI policy for this assignment is very similar to the previous ones:

You are permitted unlimited AI use if desired. However, it is recommended that you do not use AI for this assignment, except when you have no other way to make progress. You will learn and understand the concepts of neural networks by completing these questions manually as much as possible. Therefore it is recommended to turn off completions in your development environment.