Representation and Reasoning With Uncertainty: Topic 4
Representation and Reasoning With Uncertainty: Topic 4
Representation and Reasoning With Uncertainty: Topic 4
True (0.9)
Topic 4
Representation and Reasoning
with Uncertainty
Example
Tossing a coin.
Random Variable X: the result of the toss
Domain: {head, tail}
Outcomes: {X=head, X=tail}
Two tosses of the same coin
Random Variable :
X (result of the first toss),
Y (result of the second toss)
Domain of both X and Y: {head, tail}
Outcomes: { {X=head, Y=head}, {X=head, Y=tail},
{X=tail, Y=head}, {X=tail, Y=tail} }
9
Example II
Patient being diagnosed with Flu base based on cough,
temperature, age, fever .
Random Variables and their domains:
Cough:
Temperature
{ yes, no}
10-45C
Age:
Fever:
Flu :
0-100
{yes, no}
{yes, no}
(boolean)
(discrete, if the thermometer has
resolution of 0.5 C)
(discrete)
(boolean)
(boolean)
10
More definitions
- Event: set of zero, one or various atomic events.
It represents something that can happen .
Example : In the problem involving two tosses of the coin,
the event "has at least one head" is the set :
{
11
More definitions
- Mutually exclusive events: events that do not have any
atomic event in common.
- This implies that they cannot happen simultaneously.
- Example: The event "the second toss is different to the first" and the
event "the second toss is the same as the first" are mutually
exclusive.
- The event there is at least one head and the event there is at least
one tail are not mutually exclusive.
12
0<p(si)<1.0
p(s ) = 1.0
i
i=1
15
p(s1| s2)
p(s1 | s2)
p(s1 s2)
p(s2)
= 1/6 / 1/2
= 1/3
17
Then:
Gives:
p( x | y)
= 1/6
1/6
=1
19
10