hw3 - CS 6375 Machine Learning Fall 2010 Assignment 3...

Info icon This preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
CS 6375 Machine Learning Fall 2010 Assignment 3: Bayesian Learning and Neural Networks Part I: Due by Sunday, October 17, 11:59 p.m. Extra Credit: Due by Sunday, October 24, 11:59 p.m. Part II: Due by Sunday, October 31, 11:59 p.m. Submission instructions for the written problems: Slip a hard-copy solution under Eduardo’s office door or submit your solution electronically via eLearning. If you choose to submit electronically, submit your solution as a single PDF file. Regardless of the submission method you use, make sure that your name appears at the beginning of your submission. Whenever possible, you should provide brief justifications for your solution. Part I: Bayesian Learning (55 points) 1. Bayesian Classifiers (10 points) Shyam is a CS 6375 student. Recently, his mood has been highly influenced by three factors: the weather (W), his study habits (S), and whether his neighbor is at home or not (N). We want to predict his happiness according to these three factors using previous observations. The table below shows this data. Weather (W) Study (S) Neighbor (N) Happy (H) Bad Fail Home No Good Fail Out No Good Fail Out No Good Fail Out No Bad Pass Home No Bad Pass Home Yes Bad Pass Home Yes Good Pass Out Yes (a) (5 pts) On a new day when W=Good, S=Pass, and N=Out, how would we predict his happiness using a Naive Bayes classifier? Show your calculations. (b) (5 pts) On the day when W=Good, S=Pass, and N=Out, how would we predict his happiness using a Bayes classifier instead? Show your calculations. 2. Naive Bayes Reasoning (15 points) Below are some statistics on the usage of programming languages in software companies: 50% of all programmers can program in C++. 1
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
40% of all programmers can program in Java. 1% of all programmers work for Macrosoft, the largest software company. 99% of Macrosoft employees can program in C++. 98% of Macrosoft employees can program in Java. Using Naive Bayes reasoning, decide if a programmer who knows both C++ and Java is a Macrosoft employee. Show your calculations. 3. Probability I (10 points) Suppose we have two random variables, both defined over all students in CS 6375.
Image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern