You are on page 1of 1

Assignment 2

Maximum Marks: 6
Deadline: May 5, 2021
Instructions:
 Submit the assignment as pdf document on or before May 5, 2021
 You are free to consult each other for verbal help. However, copying or sharing the idea
will not only result into the cancellation of the current assignment, it may impact your
grade in all the future assignments and exams as well.

Question 1: [Marks: 3*2 = 6] [CLO1, PLO 1]

Q1. Suppose that a robot is in front of a UET Mardan gate, which is either open (with
60% probability) or closed (with 40% probability). Suppose that the sensor installed in
the robot determines that the measurement probability of an opened door, P(z1/open),
is 0.7 and that of a closed door is 0.2.

(a) Find out the total measurement probability P(z1).


(b) Find out the probability of an opened door given the measurement.
Ans
….

Hints:

Bayes Rule with Background Knowledge


P( z 2|x , z 1 ) P( x|z 1 )
P( x|z 1 , z2 )=
P( z 2|z 1 )

Conditional independence

P( x, y | z)= P( x|z) P( y|z ) , where

P( x | z )= P( x|z , y) and P( y | z)= P ( y|z ,x)

You might also like