代写program、代做c/c++,Python语言编程

时间:2024-05-02  来源:  作者: 我要纠错



2023-24 Second Semester
AI3043 Bayesian Networks
Assignment 3
Due Date: 5/May/2024(Sun), before 10pm, submitted to iSpace
Part A: (40pts)
Question 1: What is a clique tree?
Answer:
Question 2:What properties does a clique tree have?
Answer:
Question 3: Is a clique tree directed or undirected?
Answer:
Question 4: Is a moral graph directed or undirected?
Answer:
Question 5: Discuss the difference between variable elimination method and clique tree method?
Answer:
Part B: (60pts) 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}
1. Construct a Clique tree T of this Bayesian network B:
(a) What is the moral graph of this Bayesian network B? Moralized this Bayesian network and triangulated
it if necessary.
(b) Draw a clique tree and assigned each clique with conditional probability distributions specified in
the orginal Bayesian network.
(c) Which clique would you like to chose as the pivot clique when constructing a clique tree.
2. Message collection:
(a) Add directions of message propagation towards your chosen pivot clique on your clique tree.
(b) Write down the message collecting functions from the leave cliques towards the pivot clique explicitly.
(Hint: find functions f1 and f2 associated with the edges.)
3. Message distribution
(a) Write down the message passing functions from pivot clique to the other cliques explicitly. (Hint: find
functions in the opposite directions of f1 and f2.)
4. Before we answer any query, we need to identify a clique which contains the query variable and then find the
message function h (potential) which is the joint distribution of all the variables in the clique.
(a) Suppose the pivot clique contains our query variable, write down the message function h of the pivot
clique.
(b) Normalize the potentials h.
In our next assignment 4, we will use the actually data to answer several specific queries such as those in your

请加QQ:99515681  邮箱:99515681@qq.com   WX:codinghelp
















 

标签:

扫一扫在手机打开当前页
  • 上一篇:COMP 315代做、代写Java/c++编程语言
  • 下一篇:COMP26020代做、代写Lab 5 - Solidity
  • COMP 3334代做、代写Python语言编程
  • 昆明生活资讯

    昆明图文信息
    蝴蝶泉(4A)-大理旅游
    蝴蝶泉(4A)-大理旅游
    油炸竹虫
    油炸竹虫
    酸笋煮鱼(鸡)
    酸笋煮鱼(鸡)
    竹筒饭
    竹筒饭
    香茅草烤鱼
    香茅草烤鱼
    柠檬烤鱼
    柠檬烤鱼
    昆明西山国家级风景名胜区
    昆明西山国家级风景名胜区
    昆明旅游索道攻略
    昆明旅游索道攻略
  • 币安app官网下载 币安app官网下载

    关于我们 | 打赏支持 | 广告服务 | 联系我们 | 网站地图 | 免责声明 | 帮助中心 | 友情链接 |

    Copyright © 2023 kmw.cc Inc. All Rights Reserved. 昆明网 版权所有
    ICP备06013414号-3 公安备 42010502001045