Order For Similar Custom Papers & Assignment Help Services

Fill the order form details - writing instructions guides, and get your paper done.

Posted: May 1st, 2022

Computer Science – Bayes Network

Problem 1: Descendants of Effects
We will investigate the absence of conditional independence guarantees between two random variables when an arbitrary descendant of a common effect is observed. We will consider the simple
case of a causal chain of descendants:
Suppose that all random variables are binary. The marginal distributions of A and B are both
uniform (0.5, 0.5), and the CPTs of the common effect D0 and its descendants are as follows:
A B Pr(+d0 | A, B)
+a +b 1.0
+a −b 0.5
−a +b 0.5
−a −b 0.0
Di−1 Pr(+di
| Di−1)
+di−1 1.0
−di−1 0.0
(a) Give an analytical expression for the joint distribution Pr(D0, D1, · · · , Dn). Your expression
should only contain CPTs from the Bayes net parameters. What is the size of the full joint
distribution, and how many entries are nonzero?
(b) Suppose we observe Dn = +dn. Numerically compute the CPT Pr(+dn|D0). I need help writing my essay – research paper show how
you can solve for it using the joint distribution in (a), even if you do not actually use it.
(c) Let’s turn our attention to A and B. Give a minimal analytical expression for Pr(A, B, D0, +dn).
Your expression should only contain CPTs from the Bayes net parameters or the CPT you found
in part (b) above.
(d) Lastly, compute Pr(A, B | +dn). Show that A and B are not independent conditioned on Dn.
Problem 2: Bayes Net 1
The following Bayes net is the “Fire Alarm Belief Network” from the Sample Problems of the Belief
and Decision Networks tool on AIspace. All variables are binary.
(a) Which pair(s) of nodes are guaranteed to be independent given no observations in the Bayes
net? Now suppose Alarm is observed. Identify and briefly explain the nodes whose conditional
independence guarantees, given Alarm, are different from their independence guarantees, given
no observations.
(b) We are interested in computing the conditional distribution Pr(Smoke | report). Give an
analytical expression in terms of the Bayes net CPTs that computes this distribution (or its
unnormalized version). What is the maximum size of the resultant table if all marginalization
is done at the end?
(c) We employ variable elimination to solve for the query above. Identify a variable ordering that i)
yields the greatest number of operations possible, and ii) yields the fewest number of operations
possible. Also give the max table sizes in each case.
(d) Following your second variable ordering above, numerically solve for Pr(Smoke | report) using
the default parameters in the applet example. You may check your answer using the applet,
but you should work it out yourself and show your work.
2
(a) We can describe all guaranteed independences in the Bayes net by defining two or more subsets
of nodes Si
, such that all nodes in Si are independent of all nodes in Sj for i ̸= j. For
example, we can define S1 = {Smokes} and S2 = {Influenza, Sore Throat, Fever} given no
observations. Do the same for conditionally independent nodes i) given Influenza, ii) given
Bronchitis, and iii) given both Influenza and Bronchitis. Make sure your answers capture all
guaranteed independences.
(b) Consider using likelihood weighting to solve two queries, one in which Influenza and Smokes
are observed, and one in which Coughing and Wheezing are observed. Explain how the two
cases differ in the distribution of the resulting samples, as well as the weights that are applied
to the samples.
(c) We perform Gibbs sampling and would like to resample the Influenza variable conditioned on
the current sample (+s, +st, −f, −b, +c, −w). Give a minimal analytical expression for the
sampling distribution Pr(Influenza | sample) (or its unnormalized form). What is the maximum
size of the table that has to be constructed?
(d) Numerically solve for the sampling distribution Pr(Influenza | sample) using the default parameters in the applet example. You may check your answer using the applet, but you should
work it out yourself and show your work.
Problem 3: Bayes Net 2
The following Bayes net is the “Simple Diagnostic Example” from the Sample Problems of the
Belief and Decision Networks tool on AIspace. All variables are binary.

———

Problem 1: Effects’ Descendants
When an arbitrary descendent of a common effect is seen, we will look into the lack of conditional independence guarantees between two random variables. We’ll look at a simple example.

The following is an example of a causal chain of descendants:

Assume that all random variables are of the binary type. A and B’s marginal distributions are identical.

The CPTs of the common effect D0 and its descendants are as follows: uniform (0.5, 0.5), and the CPTs of the common effect D0 and its descendants are as follows:

Pr(+d0 | A, B) A B

1.0 +a +b

+a b 0.5+a b 0.5+a b 0.5+a

−a +b 0.5

−a −b 0.0

Di−1 Pr(+di

| Di−1)

+di−1 1.0

−di−1 0.0

(a) Give an analytical expression for the joint distribution Pr(D0, D1, · · · , Dn). Your expression

should only contain CPTs from the Bayes net parameters. What is the size of

Order | Check Discount

Paper Writing Help For You!

Special Offer! Get 20-25% Off On your Order!

Why choose us

You Want Quality and That’s What We Deliver

Professional Writers

We assemble our team by selectively choosing highly skilled writers, each boasting specialized knowledge in specific subject areas and a robust background in academic writing

Discounted Prices

Our service is committed to delivering the finest writers at the most competitive rates, ensuring that affordability is balanced with uncompromising quality. Our pricing strategy is designed to be both fair and reasonable, standing out favorably against other writing services in the market.

AI & Plagiarism-Free

Rest assured, you'll never receive a product tainted by plagiarism or AI-generated content. Each paper is research-written by human writers, followed by a rigorous scanning process of the final draft before it's delivered to you, ensuring the content is entirely original and maintaining our unwavering commitment to providing plagiarism-free work.

How it works

When you decide to place an order with Nurscola, here is what happens:

Complete the Order Form

You will complete our order form, filling in all of the fields and giving us as much detail as possible.

Assignment of Writer

We analyze your order and match it with a writer who has the unique qualifications to complete it, and he begins from scratch.

Order in Production and Delivered

You and your writer communicate directly during the process, and, once you receive the final draft, you either approve it or ask for revisions.

Giving us Feedback (and other options)

We want to know how your experience went. You can read other clients’ testimonials too. And among many options, you can choose a favorite writer.