DEALING WITH UNCERTAINTY (1) WEEK 5 CHAPTER 3. Introduction The world is not a well-defined place. There is uncertainty in the facts we know: – What’s.

Slides:



Advertisements
Similar presentations
UNIT IV: UNCERTAIN KNOWLEDGE AND REASONING
Advertisements

1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 13, Slide 1 Chapter 13 From Randomness to Probability.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 14 From Randomness to Probability.
PROBABILITY. Uncertainty  Let action A t = leave for airport t minutes before flight from Logan Airport  Will A t get me there on time ? Problems :
From Randomness to Probability
Probability & Counting Rules Chapter 4 Created by Laura Ralston Revised by Brent Griffin.
Knowledge Representation and Reasoning
Paula Matuszek CSC 8520, Fall, 2005 Dealing with Uncertainty.
Chapter 4 Probability.
Basic Probability. Theoretical versus Empirical Theoretical probabilities are those that can be determined purely on formal or logical grounds, independent.
Uncertainty in AI Outline: Introduction Basic Probability Theory Probabilistic Reasoning Why should we use probability theory?  Dutch Book Theorem.
KI2 - 2 Kunstmatige Intelligentie / RuG Probabilities Revisited AIMA, Chapter 13.
1 Bayesian Reasoning Chapter 13 CMSC 471 Adapted from slides by Tim Finin and Marie desJardins.
Ai in game programming it university of copenhagen Welcome to... the Crash Course Probability Theory Marco Loog.
Chapter 4 Basic Probability
Uncertainty Chapter 13.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 14 From Randomness to Probability.
Chapter 4 Probability Copyright © 2014 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin.
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 13, Slide 1 Chapter 13 From Randomness to Probability.
Chapter 8 Probability Section R Review. 2 Barnett/Ziegler/Byleen Finite Mathematics 12e Review for Chapter 8 Important Terms, Symbols, Concepts  8.1.
CS 4100 Artificial Intelligence Prof. C. Hafner Class Notes March 13, 2012.
Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Chapter 4 Probability.
Business Statistics: A First Course, 5e © 2009 Prentice-Hall, Inc. Chap 4-1 Chapter 4 Basic Probability Business Statistics: A First Course 5 th Edition.
Introduction to Probability  Probability is a numerical measure of the likelihood that an event will occur.  Probability values are always assigned on.
BINOMIALDISTRIBUTION AND ITS APPLICATION. Binomial Distribution  The binomial probability density function –f(x) = n C x p x q n-x for x=0,1,2,3…,n for.
An Introduction to Artificial Intelligence Chapter 13 & : Uncertainty & Bayesian Networks Ramin Halavati
1 Reasoning Under Uncertainty Artificial Intelligence Chapter 9.
Uncertainty Uncertain Knowledge Probability Review Bayes’ Theorem Summary.
Chapter 4 Probability ©. Sample Space sample space.S The possible outcomes of a random experiment are called the basic outcomes, and the set of all basic.
Copyright © 2010 Pearson Education, Inc. Chapter 14 From Randomness to Probability.
Uncertainty Management in Rule-based Expert Systems
Basic Business Statistics Assoc. Prof. Dr. Mustafa Yüzükırmızı
Uncertainty Chapter 13. Outline Uncertainty Probability Syntax and Semantics Inference Independence and Bayes' Rule.
Copyright © 2010 Pearson Education, Inc. Unit 4 Chapter 14 From Randomness to Probability.
From Randomness to Probability Chapter 14. Dealing with Random Phenomena A random phenomenon is a situation in which we know what outcomes could happen,
1 1 Slide © 2007 Thomson South-Western. All Rights Reserved Chapter 4 Introduction to Probability Experiments, Counting Rules, and Assigning Probabilities.
ICS 253: Discrete Structures I Discrete Probability King Fahd University of Petroleum & Minerals Information & Computer Science Department.
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 4-1 Chapter 4 Basic Probability Basic Business Statistics 11 th Edition.
Reasoning with Uncertainty دكترمحسن كاهاني
Textbook Basics of an Expert System: – “Expert systems: Design and Development,” by: John Durkin, 1994, Chapters 1-4. Uncertainty (Probability, Certainty.
+ Chapter 5 Overview 5.1 Introducing Probability 5.2 Combining Events 5.3 Conditional Probability 5.4 Counting Methods 1.
Uncertainty Let action A t = leave for airport t minutes before flight Will A t get me there on time? Problems: 1.partial observability (road state, other.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 14 From Randomness to Probability.
Copyright © 2010 Pearson Education, Inc. Chapter 14 From Randomness to Probability.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Chapter 4 Probability.
Business Statistics: A First Course, 5e © 2009 Prentice-Hall, Inc. Chap 4-1 Chapter 4 Basic Probability Business Statistics: A First Course 5 th Edition.
Anifuddin Azis UNCERTAINTY. 2 Introduction The world is not a well-defined place. There is uncertainty in the facts we know: What’s the temperature? Imprecise.
AP Statistics From Randomness to Probability Chapter 14.
Probability and statistics - overview Introduction Basics of probability theory Events, probability, different types of probability Random variable, probability.
Bayesian Reasoning Chapter 13 Thomas Bayes,
Bayesian Reasoning Chapter 13 Thomas Bayes,
Review of Probability.
From Randomness to Probability
Chapter 4 Probability Concepts
REASONING WITH UNCERTANITY
Where are we in CS 440? Now leaving: sequential, deterministic reasoning Entering: probabilistic reasoning and machine learning.
Uncertainty Chapter 13.
From Randomness to Probability
Applicable Mathematics “Probability”
Basic Probabilistic Reasoning
From Randomness to Probability
From Randomness to Probability
Professor Marie desJardins,
Honors Statistics From Randomness to Probability
Class #21 – Monday, November 10
Bayesian Reasoning Chapter 13 Thomas Bayes,
Bayesian Reasoning Chapter 13 Thomas Bayes,
28th September 2005 Dr Bogdan L. Vrusias
From Randomness to Probability
DR.M.THIAGARAJAN ASSOCIATE PROFESSOR OF MATHEMATICS
Presentation transcript:

DEALING WITH UNCERTAINTY (1) WEEK 5 CHAPTER 3

Introduction The world is not a well-defined place. There is uncertainty in the facts we know: – What’s the temperature? Imprecise measures – Is X a good president? Imprecise definitions – Where are the road pits? Imprecise knowledge There is uncertainty in our inferences – If I have red scars a itchy rash and was gardening all weekend I have poison ivy People make successful decisions all the time anyhow. 2 probably

Sources of Uncertainty Uncertain data – missing data, unreliable, ambiguous, imprecise representation, inconsistent, subjective, derived from defaults, noisy… Uncertain knowledge – Multiple causes lead to multiple effects – Incomplete knowledge of causality in the domain – Probabilistic/stochastic effects Uncertain knowledge representation – restricted model of the real system – limited expressiveness of the representation mechanism inference process – Derived result is formally correct, but wrong in the real world – New conclusions are not well-founded (eg, inductive reasoning) – Incomplete, default reasoning methods 3

Reasoning Under Uncertainty So how do we do reasoning under uncertainty and with inexact knowledge? – heuristics ways to mimic heuristic knowledge processing methods used by experts ( limit the search for solution) – empirical associations experiential reasoning and based on limited observations Verifiable or provable by means of observation or experiment. Guided by practical experience and not theory, as in medicine. – probabilities objective (frequency counting) subjective (human experience ) 4

Decision making with uncertainty Rational behavior: – For each possible action, identify the possible outcomes – Compute the probability of each outcome – Compute the utility of each outcome – Compute the probability-weighted (expected) utility over possible outcomes for each action – Select the action with the highest expected utility (principle of Maximum Expected Utility) 5

Some Relevant Factors expressiveness – can concepts used by humans be represented adequately? – can the confidence of experts in their decisions be expressed? comprehensibility – representation of uncertainty – utilization in reasoning methods correctness – probabilities – relevance ranking – long inference chains computational complexity – feasibility of calculations for practical purposes reproducibility – Do the observations deliver the same results when repeated? 6

Basic Probability Probability theory enables us to make rational decisions. Which mode of transportation is safer ( more safety): – Car or Plane? – What is the probability of an accident?

Basic Probability Theory

Probability as Relative Frequency An event has a probability. Consider a long sequence of experiments. If we look at the number of times a particular event occurs in that sequence, and compare it to the total number of experiments, we can compute a ratio. This ratio is one way of estimating the probability of the event. P(E) = (# of times E occurred)/(total # of trials)

Theoretical Probability Principle of Indifference - Alternatives are always to be judged probabley if we have no reason to expect or prefer one over the other. Each outcome in the sample space is assigned equal probability. Example: throw a dice – P({1})=P({2})=... =P({6})=1/6

Law of Large Numbers As the number of experiments increases the relative frequency of an event more closely approximates the theoretical probability of the event. – if the theoretical assumptions hold. Buffon’s Needle for Computing π – Draw parallel lines 1 inch apart on a plane – Throw a 1-inch needle on the plane – P( needle crossing a line )=2/ π

Large Number Reveals Untruth in Assumptions Results of 1,000,000 throws of a dice Number Fraction W hy ?

Axioms of Probability Theory Suppose P(.) is a probability function, then 1.for any event E, 0≤P(E) ≤1. …..How ? 2.P(S) = 1, where S is the sample space. 3.for any two mutually exclusive events E1 and E2, P(E1  E2) = P(E1) + P(E2) Any function that satisfies the above three axioms is a probability function.

Joint Probability Let A, B be two events, the joint probability of both A and B being true is denoted by P(A, B). Example: P(spade) is the probability of the top card being a spade. P(king) is the probability of the top card being a king. P(spade, king) is the probability of the top card being both a spade and a king, i.e., the king of spade. P(king, spade)=P(spade, king) ???

Properties of Probability 1.P(  E) = 1– P(E) 2.If E1 and E2 are logically equivalent, then P(E1)=P(E2). – E1: Not all philosophers are more than six feet tall. – E2: Some philosopher is not more that six feet tall. Then P(E1)=P(E2). 3.P(E1, E2)≤P(E1).

Conditional Probability The probability of an event may change after knowing another event. The probability of A given B is denoted by P(A|B). Example – P( W=space ) the probability of a randomly selected word from an English text is ‘space’ – P( W=space | W’=outer) the probability of ‘space’ if the previous word is ‘outer’

Example A:the top card of a deck of poker cards is a king of spade P(A) = 1/52 However, if we know B:the top card is a king then, the probability of A given B is true is P(A|B) = 1/4.

How to Compute P(A|B)?

Business Students Of 100 students completing a course, 20 were business major. Ten students received A in the course, and three of these were business majors., suppose A is the event that a randomly selected student got an A in the course, B is the event that a randomly selected event is a business major. What is the probability of A? What is the probability of A after knowing B is true?

Probabilistic Reasoning Evidence – What we know about a situation. Hypothesis – What we want to conclude. Compute – P( Hypothesis | Evidence )

Credit Card Authorization E is the data about the applicant's age, job, education, income, credit history, etc, H is the hypothesis that the credit card will provide positive return. The decision of whether to issue the credit card to the applicant is based on the probability P(H|E).

Medical Diagnosis E is a set of symptoms, such as, coughing, sneezing, headache,... H is a disorder, e.g., common cold, SARS, flu. The diagnosis problem is to find an H (disorder) such that P(H|E) is maximum.

Basics of Probability Theory mathematical approach for processing uncertain information – sample space set X = {x1, x2, …, xn} collection of all possible events can be discrete or continuous – probability number P(xi): likelihood of an event xi to occur non-negative value in [0,1] total probability of the sample space is 1 for mutually exclusive events, the probability for at least one of them is the sum of their individual probabilities experimental probability – based on the frequency of events subjective probability – based on expert assessment 24

Compound Probabilities describes independent events – do not affect each other in any way joint probability of two independent events A and B P(A  B) = P(A) * P (B) union probability of two independent events A and B P(A  B) = P(A) + P(B) - P(A  B) =P(A) + P(B) - P(A) * P (B) 25

Probability theory Random variables – Domain Atomic event: complete specification of state Prior probability: degree of belief without any other evidence Joint probability: matrix of combined probabilities of a set of variables Alarm, Burglary, Earthquake – Boolean (like these), discrete, continuous Alarm=True  Burglary=True  Earthquake=False alarm  burglary  earthquake P(Burglary) =.1 P(Alarm, Burglary) = 26 alarm¬alarm burglary ¬burglary.1.8

Independence When two sets of propositions do not affect each others’ probabilities, we call them independent, and can easily compute their joint and conditional probability: – Independent (A, B) if P(A  B) = P(A) P(B), P(A | B) = P(A) For example, {moon-phase, light-level} might be independent of {burglary, alarm, earthquake} – Then again, it might not: Burglars might be more likely to burglarize houses when there’s a new moon (and hence little light) – But if we know the light level, the moon phase doesn’t affect whether we are burglarized – Once we’re burglarized, light level doesn’t affect whether the alarm goes off We need a more complex notion of independence, and methods for reasoning about these kinds of relationships 27

Conditional independence Absolute independence: – A and B are independent if P(A  B) = P(A) P(B); equivalently, P(A) = P(A | B) and P(B) = P(B | A) A and B are conditionally independent given C if – P(A  B | C) = P(A | C) P(B | C) This lets us decompose the joint distribution: – P(A  B  C) = P(A | C) P(B | C) P(C) Moon-Phase and Burglary are conditionally independent given Light-Level Conditional independence is weaker than absolute independence, but still useful in decomposing the full joint probability distribution 28

Conditional Probabilities describes dependent events – affect each other in some way conditional probability of event a given that event B has already occurred P(A|B) = P(A  B) / P(B) 29

Q & A 30