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). Please 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

Tags: free printable nursing study guides, nursing study guides free, nursing study guides worksheets, nursing study hub, nursing study material

Assignment Help For You!

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

Why choose us

You Want Quality and That’s What We Deliver

Top Skilled Writers

To ensure professionalism, we carefully curate our team by handpicking highly skilled writers and editors, each possessing specialized knowledge in distinct subject areas and a strong background in academic writing. This selection process guarantees that our writers are well-equipped to write on a variety of topics with expertise. Whether it's help writing an essay in nursing, medical, healthcare, management, psychology, and other related subjects, we have the right expert for you. Our diverse team 24/7 ensures that we can meet the specific needs of students across the various learning instututions.

Affordable Prices

The Essay Bishops 'write my paper' online service strives to provide the best writers at the most competitive rates—student-friendly cost, ensuring affordability without compromising on quality. We understand the financial constraints students face and aim to offer exceptional value. Our pricing is both fair and reasonable to college/university students in comparison to other paper writing services in the academic market. This commitment to affordability sets us apart and makes our services accessible to a wider range of students.

100% Plagiarism-Free

Minimal Similarity Index Score on our content. Rest assured, you'll never receive a product with any traces of plagiarism, AI, GenAI, or ChatGPT, as our team is dedicated to ensuring the highest standards of originality. We rigorously scan each final draft before it's sent to you, guaranteeing originality and maintaining our commitment to delivering plagiarism-free content. Your satisfaction and trust are our top priorities.

How it works

When you decide to place an order with Dissertation App, 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.