COMP 200: Elements of Computer Science
Spring 2013

Assignment 7

Put all your answers in one CodeSkulptor file.

Work in assigned pairs on this assignment. Submit it on OWL-Space, under Assignment 7. Only the first person listed in the pair should submit the Codeskulptor URL. Put the pair designation as posted, (NetID1, NetID2), at the top of your submission as well as in Python comments at the top of your CodeSkulptor code. Including the person's actual names too would be nice.

As with the previous assignments, your grade will partly depend on your code style.

Be sure to read the course policies.

Neural Networks (100 points total)

Complete the methods in this provided code. (Here is a new link that completes all the parts to be done in class.)

  1. ( 4 points) Layer.get_nodes()
  2. (10 points) Layer.get_values()
  3. (10 points) Layer.set_values()
  4. (10 points) Layer.get_errors()
  5. (10 points) Layer.set_errors()
  6. (18 points) Layer.connect()
  7. (10 points) make_random_value
  8. (10 points) make_random_values()
  9. (18 points) ANN.__init__()