代写AI3043 Bayesian Networks
2023-24 Second Semester AI3043 Bayesian Networks
Assignment 2 Exact Inference: Variable Elimination
Due Date: 17/Apr/2024(Wed), before 11:59am, submitted to iSpace
Consider the following Bayesian networks:
• R: it is raining or not, with binary values r: it is raining and r
c
: it is not raining. val(R) = {r, rc}
• L: there are juicy leaves or not, val(L) = {l, lc}
• Q: the quokkas are happy or unhappy, val(Q) = {q, qc}
• T: there are lots of tourist or not many, val(T) = {t, tc}
• S: people are taking lots of quokka selfies, or not. val(R) = {s, sc}
Figure 1: Bayesian network
1. Write the chain rule for the joint distribution P (R, L, Q, T, S)
P (R, L, Q, T, S) = P (R) P (L | R) P (Q | R, L) P (T | R, L, Q) P (S | R, L, Q, T)
Note: You must use VE (variable elimination) method to solve these questions below!
2. What is the probability that there are many tourists?
3. What is the probability that the quokkas are happy, given there are lots of quokka selfies being taken and it
is not raining.
4. Calculate P (r | l
c
, s), what does the this probability stand for?
5. Calculate P (l | q, t, s)
请加QQ:99515681 邮箱:99515681@qq.com WX:codinghelp
热门文章
福特电动车卖不动?只有一半汽车经纪明年想卖纯电动车
春节将至,河南致信返乡人员:期盼你们返乡创业就业,在外学到的知识带回来,献计献策!
新政落地后首周北京二手房日均成交量上涨11%
独行侠首节44分!兰德尔:欧文定下了基调 我们的防守没存在感
周口城投城市运营丨聚焦城市发展 彰显国企担当
东芝退市折射日企创新困局