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.
- Docstrings — Every function should have a docstring that describes what the function does, including relating any outputs to the inputs.
- Code reuse — Wherever reasonable you should reuse functions that have been defined previously on this assignment, on a previous assignment, or in class.
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.)
- ( 4 points)
Layer.get_nodes()
- (10 points)
Layer.get_values()
- (10 points)
Layer.set_values()
- (10 points)
Layer.get_errors()
- (10 points)
Layer.set_errors()
- (18 points)
Layer.connect()
- (10 points)
make_random_value
- (10 points)
make_random_values()
- (18 points)
ANN.__init__()