You are on page 1of 2

CSE 307 Introduction to Artificial Intelligence Assignment 5

Issue Date: 18 April, 2022 Due date: 24 April, 2022

Instructions:
 Electronic Submission on LMS is compulsory.
 Assignment will be graded on the basis of timely submission on LMS.

1. How many parameters are necessary to define the conditional probability distributions for
the following Bayesian network?

A D
C

2. Consider the Bayesian network example below. Do it on paper then verify the results in

E
GeNIe. (Note: GeNIe is a graphical interface to create a Bayesian network and
inferencing. Download and install from https://www.bayesfusion.com/genie/ )

P(S)=0.7 Su R P(R)=0.01
nn

H
P(H | S,R) = 1

P(H | S,-R) = 0.9

P(H | -S,R) = 0.7

P(H | -S,-R) = 0.1


S=Sunny
R=Raise in salary
H=Happy
a. Find P(R|S)
b. Determine R and S are independent? P(R|S)=P(R)
c. Determine R and S are independent even if the event H has occurred. Explain.
d. P(R| H, S)
e. P(R|H)
f. P(R | H, -S)

Quratulain Rajput Page 1


CSE 307 Introduction to Artificial Intelligence Assignment 5

3. Consider the Bayesian network of cancer test example below. Do it on paper then verify
the results in GeNIe software.
a. Find P(C | T1= +, T2= +)
b. Find P(C | T1= +, T2= -)
c. Find P(T2= + | T1=+)

P(C)=0.01
C

T1 T2 P(T2=+
P(T2=+ || -C)=0.2
C)=0.9
P(T1=+ | -C)=0.2
C)=0.9

4. Consider the following Bayesian network of medical diagnosis example, find the
conditional probabilities on paper and verify using GeNIe and explain your understanding
of the probabilistic values calculated for each of the following.
a. P(ShortnessOfBreath | Smokes)
b. P(LungDisese | Cough, Cold)
c. Is the Cold and LungDisease are condtionaly independent given Cough?
P(LungDisease|Cold,Cough) = P(LungDisease|Cough)

Quratulain Rajput Page 2

You might also like