It is important for you to spend time understanding the mistakes from the homework.
For the midterm, please add the following code to a cell to run and debug any errors:
import os
files = "https://www.dropbox.com/s/fa7sp3r1enbk8xy/midterm.zip"
!pip install git+https://github.com/data-8/Gofer-Grader && wget $files && unzip -o midterm.zip
from client.api.notebook import Notebook
ok = Notebook('lab.ok')
_ = ok.auth(inline=True)
results= {q[:-3]:ok.grade(q[:-3]) for q in os.listdir("tests") if q.startswith('q')}
For the homework 8 (PCA and Cluster), please add the following code to a cell:
import os
files = "https://www.dropbox.com/s/nnkxhjso04f5as7/pca.zip"
!rm -rf * && pip install git+https://github.com/data-8/Gofer-Grader && wget $files && unzip -o pca.zip
from client.api.notebook import Notebook
ok = Notebook('lab.ok')
_ = ok.auth(inline=True)
results= {q[:-3]:ok.grade(q[:-3]) for q in os.listdir("tests") if q.startswith('q')}
The way that we framed the "challenge question" on feature selection (hint: did you look at this notebook it isn't possible to test. For 5 points of extra credit, provide a list of the column names of your selected features called selected_features
:
For example:
selected_features = ['col20', 'eng6', 'fak2', 'fak4']
There isn't a test for this currently as that would give it away. ;) You MUST have created your list using a empirical method. As mentioned in the homeworks it would be an ethical violation just just get the list from someone who figured it out.
We will also extend the homework 8 due date until Friday at 11:59 for you to fix any errors. We know some of you have class right after. HM9 is the first 3 sections of which are due on Friday, November 8, 2019 at 11:59 PM. Please turn in to LMS.