Lab 9: Adaboost

From 6.034 Wiki

(Difference between revisions)
Jump to: navigation, search
(Skeleton)
Line 8: Line 8:
* Or, on Athena, <tt>add 6.034</tt> and copy it from <tt>/mit/6.034/www/labs/lab7/</tt>.
* Or, on Athena, <tt>add 6.034</tt> and copy it from <tt>/mit/6.034/www/labs/lab7/</tt>.
-
<!--The online tester is now available!--> Online tests will be made available by the end of Tuesday, November 24.  In the meantime, the local tester provides thorough unit tests for each section of the lab.
+
<!--The online tester is now available!-->
 +
Online tests will be made available by the end of Tuesday, November 24.  In the meantime, the local tester provides thorough unit tests for each section of the lab.
Your answers for this lab belong in the main file <tt>lab7.py</tt>.  
Your answers for this lab belong in the main file <tt>lab7.py</tt>.  

Revision as of 21:33, 20 November 2015

Contents


This lab is due by Friday, December 4 at 10:00pm.

To work on this lab, you will need to get the code, much like you did for the first two labs.

Online tests will be made available by the end of Tuesday, November 24. In the meantime, the local tester provides thorough unit tests for each section of the lab.

Your answers for this lab belong in the main file lab7.py.

Problems: Adaboost

In this lab, you will code the Adaboost algorithm to perform boosting.

Initialize weights

Calculate error rates

Pick the best weak classifier

Calculate voting power

Is H good enough?

Update weights

Adaboost: putting it all together

Using all the helper functions you've written above, implement the Adaboost algorithm.

Keep in mind that Adaboost has three exit conditions: TODO

Survey

Please answer these questions at the bottom of your lab6.py 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