L11a Uncertainty171105
L11a Uncertainty171105
L11a Uncertainty171105
Chapter 13
Uncertainty
Let action At = leave for airport t minutes before flight
Will At get me there on time?
Problems:
1. partial observability (road state, other drivers' plans, etc.)
2. noisy sensors (traffic reports)
3. uncertainty in action outcomes (flat tire, etc.)
4. immense complexity of modeling and predicting traffic
“A25 will get me there on time if there's no accident on the bridge and it doesn't rain
and my tires remain intact etc etc.”
(A1440 might reasonably be said to get me there on time but I'd have to stay overnight
in the airport …)
Probability to the Rescue
• Probability
Subjective probability:
E.g., if the world consists of only two Boolean variables Cavity and Toothache, then there are 4
distinct atomic events:
• For any proposition a, sum the atomic events where it is true: P(a) =
Σω:ω╞a P(ω)
• For any proposition φ, sum the atomic events where it is true: P(φ) =
Σω:ω╞φ P(ω)
= 0.016+0.064
0.108 + 0.012 + 0.016 + 0.064
= 0.4
Normalization
Then the required summation of joint entries is done by summing out the hidden
variables:
P(Y | E = e) = αP(Y,E = e) = αΣhP(Y,E= e, H = h)
• The terms in the summation are joint entries because Y, E and H together
exhaust the set of random variables
• Obvious problems:
1. Worst-case time complexity O(dn) where d is the largest arity
2. Space complexity O(dn) to store the joint distribution
3. How to find the numbers for O(dn) entries
Independence
• A and B are independent iff
P(A|B) = P(A) or P(B|A) = P(B) or P(A, B) = P(A) P(B)
• or in distribution form
P(Y|X) = P(X|Y) P(Y) / P(X) = αP(X|Y) P(Y)
• Useful for assessing diagnostic probability from causal probability:
– P(Cause|Effect) = P(Effect|Cause) P(Cause) / P(Effect)
1. P(disease)
2. P(symptoms|disease)=P(headache|disease)P(backache|disease)....
For instance:
flu1 headache, fever, muscle ache
lungcancer1 short breath, breast pain
flu2 headache, fever, cough
....