Lab 5: Bayes Nets
From 6.034 Wiki
(Difference between revisions)
Revision as of 22:49, 24 November 2015
Contents |
This is an entirely optional lab for you to practice manipulating Bayes nets and probabilities computationally. This lab is worth no credit whatsoever. There will be no online tests. (However, if you would like to provide feedback to improve this new lab for next year, see below.) TODO
To get the code...
- You can view the files at: http://web.mit.edu/6.034/www/labs/lab_bayes/
- Download it as a ZIP file: http://web.mit.edu/6.034/www/labs/lab_bayes/lab_bayes.zip
- Or, on Athena, add 6.034 and copy it from /mit/6.034/www/labs/lab_bayes/.
Your answers will go in the main file lab_bayes.py.
Problems
Descendants and non-descendants
TODO
Probability
TODO
Parameter-counting and independence
TODO
API
The file bayes_api.py defines the BayesNet class, as well as some helper functions, all described below.
BayesNet
TODO
Helper functions
TODO
Feedback
Do you want to help us improve this new lab for next year? If so, here are two ways you can help:
- Email your feedback (and optionally your lab_bayes.py file, so we can use it to improve the tests) to Jessica at jmn@mit.edu with the subject line 'lab_bayes feedback'. [TODO mailto:...]
- Provide anonymous feedback through this form [TODO]
If you have additional feedback on previous labs, we're happy to receive that as well!