Question 1
Consider the following Bayesian network:
Bayesian Network Practice Questions
T0.8 L F 0.3
Copyright By PowCoder代写 加微信 powcoder
T 0.9 F 0.7
R : it is raining
L : there are juicy leaves
Q : the quokkas are happy 😀
T : there are lots of tourists
S : people are taking lots of quokka selfies
T T 0.7 T TF0.9 F T 0.2 F F 0.3
T T 0.9 TF0.6 S F T 0.4
1. What is the probability that there are lots of tourists? Calculate this in two ways:
(a) with enumeration (with improvement, see slide 59 W11) (b) with variable elimination
2. What is the probability that the quokkas are happy, given there are lots of quokka selfies being taken and it’s not raining? (Do this using variable elimination)
3. BAYESed on your answer to the previous question, classify the quokkas as happy or not, given the above evidence.
4. (extra practice) Calculate P (r | ¬l, s) (Note: there is an answer but no worked solution)
5. (extra practice) Calculate P (l | q, t, s) (Note: there is an answer but no worked solution)
Question 2 (Advanced)
Figure 1: A happy quokka
Consider the Bayesian Network shown in Figure 2. Prove that, with no evidence, U is independent of O by UO
showing: P(U,O) = P(U)P(O)
Figure 2: Quokka network
程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com