Professional Documents
Culture Documents
t Some sentences ascertained from agents percepts, others can be inferred from current and previous percepts together with knowledge about properties
of environment Agents have to act under uncertainty Incompleteness and incorrectness in agents understanding of the environment In real life situation we cannot be sure of an evidence
Will At get me there on time? Problems: partial observability (road state, other drivers' plans, etc.) 1. uncertainty in action outcomes (flat tire, etc.) 2. immense complexity of modeling and predicting traffic Hence a purely logical approach either 1. risks falsehood: A25 will get me there on time, or 2. leads to conclusions that are too weak for decision making: A90 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. A120 will increase agents belief to get me on time but will increase the likelihood of a long wait (A1440 might reasonably be said to get me there on time but I'd have to stay overnight in the airport )
Probability
First order logic fails due to:
laziness: failure to enumerate exceptions, qualifications,
etc. Theoretical Ignorance: No complete theory for the domain Practical ignorance: lack of relevant facts, initial conditions, etc.
belief about a sentence Probability theory is one main tool to deal with degrees of belief E.g 80% of toothache patients seen so far have had cavities Probability = 0.8
spent waiting, etc. Utility theory is used to represent and infer preferences. The quality of being useful Decision theory = probability theory + utility theory
information, the agent will assign a probability of 0.1 (10% chance) to the event. Proposition can also include equalities involving so-called random variables. P(Weather=Sunny) = 0.7 P(Weather=Rainy) = 0.2 P(Weather=Cloudy) = 0.08 Logical connectives may also be used, e.g P(Cavity Insured)=0.06 P(Cavity) is viewed as P(Cavity=True) and P(Cavity) is viewed as P(Cavity=False) Complex propositions formed from elementary propositions and standard logical connectives e.g., Weather = sunny Cavity = false
Rule
Product
Axioms of probability
For any propositions A, B 0 P(A) 1 P(true) = 1 and P(false) = 0 P(A B) = P(A) + P(B) - P(A B)
gives the probability of every atomic event on those random variables P(Weather,Cavity) = a 4 2 matrix of values:
sunny rainy cloudy snow 0.144 0.02 0.016 0.02 0.576 0.08 0.064 0.08
Bayes' Rule
Normalisation
P(M|S)= P(S|M)P(M)
P(S|M)P(M)+P(S|M)P(M)