Computer Science Homework Help

Machine Learning Question

 

I need to see the completed code which helps me studying for final project. Instruction for coding and IPython Notebook file is in the zip file.