








































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!









































































Introduction to Artificial Intelligence
CSCI561aHadi MoradiAIMA Chapter 13
(some slides are from Prof. A. Moore from CMU and Min-Yen Kan and may be updated)
Uncertainty ^
Probability ^
Syntax and Semantics ^
Inference ^
Independence and Bayes' Rule
Default or nonmonotonic logic:^ ^
Assume my car does not have a flat tire Assume
A^25
works unless contradicted by evidence
^
Issues: What assumptions are reasonable? How to handle contradiction? ^
Rules with fudge factors:^
A^25
|→0.
get there on time
^ Sprinkler |
→^ 0.
WetGrass
^ WetGrass |
→^ 0.
Rain
^
Issues: Problems with combination, e.g.,
Sprinkler causes
Rain??
^
Probability^ ^
Model agent's degree of belief Given the available evidence, A^25
will get me there on time with probability 0.
^ laziness: failure to enumerate exceptions, qualifications, etc. ^ ignorance: lack of relevant facts, initial conditions, etc. Subjective probability: ^
Probabilities relate propositions to agent's own state of knowledge
e.g., P(A
| no reported accidents) = 0.06 25
Probabilities of propositions change with new evidence:
e.g., P(A
| no reported accidents, 5 a.m.) = 0.15 25
^
Perception
= state estimation
^
Action
= utility optimization
Suppose a robot obtains measurement
z
^
What is
P(open|z)?
Atomic event: A complete specification of the state ofthe world about which the agent is uncertainE.g., if the world consists of only two Boolean variables
Cavity and
Toothache, then there are 4 distinct atomic events:Cavity = false
∧^ Toothache = false
Cavity = false
∧^ Toothache = true
Cavity = true
∧^ Toothache = false
Cavity = true
∧^ Toothache = true
^
Atomic events are mutually exclusive and exhaustive
We write P(A) as “the fraction of possible worldsin which A is true” Event space ofall possibleworlds Its area is 1
Worlds in which A is False
Worlds in whichA is true
P(A) = Area ofreddish oval
0 <= P(A) <= 1 ^
P(True) = 1 ^
P(False) = 0
The area of A can’t getany bigger than 1And an area of 1 wouldmean all worlds will haveA true
0 <= P(A) <= 1 ^
P(A or B) = P(A) + P(B) - P(A and B)
A
B
0 <= P(A) <= 1, P(True) = 1, P(False) = 0 ^
P(A or B) = P(A) + P(B) - P(A and B)
From these we can prove:P(not A) = P(~A) = 1-P(A) ^
How?
0 <= P(A) <= 1, P(True) = 1, P(False) = 0 ^
P(A or B) = P(A) + P(B) - P(A and B)
From these we can prove:P(A) = P(A ^ B) + P(A ^ ~B) ^
How?
Using the axioms of probability…
0 <= P(A) <= 1, P(True) = 1, P(False) = 0P(A or B) = P(A) + P(B) - P(A and B)
^
And assuming that A obeys…
-^
It’s easy to prove that
j i v A v A
j
i^
if 0 )
2
1
vk A v A v A P
1
2
1
∑=
i j
j
i^
v A P v A v A v A P
Using the axioms of probability…
0 <= P(A) <= 1, P(True) = 1, P(False) = 0P(A or B) = P(A) + P(B) - P(A and B)
^
And assuming that A obeys…
-^
It’s easy to prove that
j i v A v A
j
i^
if 0 )
2
1
vk A v A v A P
1
2
1
∑=
i j
j
i^
v A P v A v A v A P
-^
And thus we can prove
1
k ∑= j
vj A P