ScholarMatic | 24/7 Homework Help

ScholarMatic Will Help You Write Your Essays and Term Papers

Answered » You can buy a ready-made answer or pick a professional tutor to order an original one.

CS 262A: Winter 2016 Assignment 2

by | Dec 2, 2023 | Posted Questions

Assignment 2
1. Consider the DAG in Figure 1:
(a) List the Markovian assumptions asserted by the DAG.
(b) Express Pr(a, b, c, d, e, f, g, h) in terms of network parameters.
(c) Compute Pr(A = 0, B = 1) and Pr(E = 0 | A = 1). Justify your answers.
(d) What is a MAP for variables A and B? Justify your answer.
(e) True or false? Why?
• dsep(A, BH, E) • dsep(G, D, A) • dsep(G, F, A) • dsep(AB, F, GH)
(f) Provide two Markov blankets for variable D.
2. Construct two distinct DAGs over variables A, B, C, and D. Each DAG must have exactly four edges,
and the DAGs must agree on d-separation.
3. Identify a DAG that is a D-MAP for all distributions Pr over variables X. Similarly, identify another
DAG that is an I-MAP for all distributions Pr over variables X.
The last two questions should be done using SamIam.1 You can add screenshots to your solution file.
4. Joe’s x-ray test comes back positive for lung cancer. The test’s false negative rate is fn = .40 and its
false positive rate is fp = .02. We also know that the prior probability of having lung cancer is c = .001.
Describe a Bayesian network and a corresponding query for computing the probability that Joe has
lung cancer given his positive x-ray. What is the value of this probability? Use sensitivity analysis to
identify necessary and sufficient conditions on each of fn, fp, and c that guarantee the probability of
cancer to be no less than 10% given a positive x-ray test.
5. We have three identical and independent temperature sensors that will trigger in:
• 90% of the cases where the temperature is high;
• 5% of the cases where the temperature is nominal;
• 1% of the cases where the temperature is low.
The probability of high temperature is 20%, nominal temperature is 70%, and low temperature is 10%.
Describe a Bayesian network and compute the following (after describing the corresponding queries):
(a) Probability that the first sensor will trigger given that the other two sensors have also triggered.
(b) Probability that the temperature is high given that all three sensors have triggered.
(c) Probability that the temperature is high given that at least one sensor has triggered.
1You can download SamIam from http://reasoning.cs.ucla.edu/samiam.
1
A B
C D E
F
G H
A ?A
1 .2
0 .8
B ?B
1 .7
0 .3
B E ?E|B
1 1 .1
1 0 .9
0 1 .9
0 0 .1
A B D ?D|AB
1 1 1 .5
1 1 0 .5
1 0 1 .6
1 0 0 .4
0 1 1 .1
0 1 0 .9
0 0 1 .8
0 0 0 .2
Figure 1: A Bayesian network with some of its CPTs.
Submission
(1) You should submit your work on CCLE.
(2) You should submit a formatted pdf file (no scans or pictures).
(3) You can submit late work, subject to the following penalties:
• 25% off for up to one day;
• 50% off for up to two days;
• 100% off for more than 2 days.
2

ScholarMatic: Explanation & Answer

Your ready answer from a verified tutor is just a click away for as little as $14.99


  

Click Order Now to get 100% Original Answer Customized to your instructions!

HOME TO CERTIFIED WRITERS

Why Place An Order With Us?

  • Certified Editors
  • 24/7 Customer Support
  • Profesional Research
  • Easy to Use System Interface
  • Student Friendly Pricing

Have a similar question?

PLAGIRAISM FREE PAPERS

All papers we provide are well-researched, properly formatted and cited.

TOP QUALITY

All papers we provide are well-researched, properly formatted and cited.

HIGHLY SECURED

All papers we provide are well-researched, properly formatted and cited.

ScholarMatic: Get Started

Assignment Writing Service

Feel safe and secure when placing an order on our portal!
Fruitful cooperation begins with solid guarantees, and we are professional enough to promise perfect results. Let’s get it started!