Lab 6: KNNs & ID Trees

From 6.034 Wiki

(Redirected from Lab 5)
Jump to: navigation, search

Contents


This lab is due by Thursday, October 29 at 10:00pm.

Before working on the lab, you will need to get the code. You can...

  • Use Git on your computer: git clone username@athena.dialup.mit.edu:/mit/6.034/www/labs/fall2020/lab6
  • Use Git on Athena: git clone /mit/6.034/www/labs/fall2020/lab6


All of your answers belong in the main file lab6.py. To submit your lab to the test server, you will need to download your key.py file and put it in either your lab6 directory or its parent directory. You can also view all of your lab submissions and grades here.


Breaking down a problem into smaller sub-problems

For your convenience, we have split this lab into two sections. Part 1 covers the topic of identification trees, and Part 2 covers k-nearest neighbors.

We strongly suggest that you complete Part 1 (ID Trees) by Thursday, October 15.

We strongly suggest that you then complete Part 2 (kNN) by Tuesday, October 20.

The final deadline to complete Lab 6 (both Part 1 (ID Trees) and Part 2 (kNN)) is Thursday, October 29.

Note that if you submit online after completing Part 1 (but before completing Part 2), the tester will fail as expected for kNN tests. Don't fret! As long as you submit and pass all online tests by Thursday, October 29, you will be awarded full lab credit.

Survey

Please answer these questions at the bottom of your lab file:

  • NAME: What is your name? (string)
  • COLLABORATORS: Other than 6.034 staff, whom did you work with on this lab? (string, or empty string if you worked alone)
  • HOW_MANY_HOURS_THIS_LAB_TOOK: Approximately how many hours did you spend on this lab? (number or string)
  • WHAT_I_FOUND_INTERESTING: Which parts of this lab, if any, did you find interesting? (string)
  • WHAT_I_FOUND_BORING: Which parts of this lab, if any, did you find boring or tedious? (string)
  • (optional) SUGGESTIONS: What specific changes would you recommend, if any, to improve this lab for future years? (string)


(We'd ask which parts you find confusing, but if you're confused you should really ask a TA.)

When you're done, run the online tester to submit your code.

Personal tools