Starting from:

$30

CT5132/CT5148 Lab Week 10 Solved





1.   In our code directory, get the Aaronson oracle code and run it. Try to beat the computer! (But remember, you’re not allowed to go very slowly.)

2.   In our code directory, get structshape.py from Downey and read through it. At the command-line, run it on some objects to see what it can do. Can it handle objects made from classes, e.g. what does it say about a fitted Scikit-Learn object?

3.   What are some functions you have seen in your work, or previous study, or other modules in this programme, which would benefit from memoisation? What are some functions which might benefit from memoisation but which aren’t suitable for some reason?

4.   Please install RStudio, if you haven’t already, as we’ll look at R for the remaining two weeks.

1

More products