Probability and Information

Slides:



Advertisements
Similar presentations
Probability: Review The state of the world is described using random variables Probabilities are defined over events –Sets of world states characterized.
Advertisements

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 :
Artificial Intelligence Uncertainty
Uncertainty Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 14.
CPSC 422 Review Of Probability Theory.
Probability.
Probability Review 1 CS479/679 Pattern Recognition Dr. George Bebis.
Uncertainty Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 13.
Uncertainty Chapter 13. Uncertainty Let action A t = leave for airport t minutes before flight Will A t get me there on time? Problems: 1.partial observability.
CS 416 Artificial Intelligence Lecture 13 Uncertainty Chapter 13 Lecture 13 Uncertainty Chapter 13.
KI2 - 2 Kunstmatige Intelligentie / RuG Probabilities Revisited AIMA, Chapter 13.
University College Cork (Ireland) Department of Civil and Environmental Engineering Course: Engineering Artificial Intelligence Dr. Radu Marinescu Lecture.
Uncertainty Management for Intelligent Systems : for SEP502 June 2006 김 진형 KAIST
Representing Uncertainty CSE 473. © Daniel S. Weld 2 Many Techniques Developed Fuzzy Logic Certainty Factors Non-monotonic logic Probability Only one.
Ai in game programming it university of copenhagen Welcome to... the Crash Course Probability Theory Marco Loog.
Probability and Information Copyright, 1996 © Dale Carnegie & Associates, Inc. A brief review (Chapter 13)
Uncertainty Logical approach problem: we do not always know complete truth about the environment Example: Leave(t) = leave for airport t minutes before.
Bayes Classification.
Uncertainty Chapter 13.
Uncertainty Chapter 13.
Methods in Computational Linguistics II Queens College Lecture 2: Counting Things.
CS 4100 Artificial Intelligence Prof. C. Hafner Class Notes Feb 28 and March 13-15, 2012.
Handling Uncertainty. Uncertain knowledge Typical example: Diagnosis. Consider:  x Symptom(x, Toothache)  Disease(x, Cavity). The problem is that this.
Uncertainty Chapter 13. Uncertainty Let action A t = leave for airport t minutes before flight Will A t get me there on time? Problems: 1.partial observability.
CHAPTER 13 Oliver Schulte Summer 2011 Uncertainty.
An Introduction to Artificial Intelligence Chapter 13 & : Uncertainty & Bayesian Networks Ramin Halavati
CS 4100 Artificial Intelligence Prof. C. Hafner Class Notes March 13, 2012.
Uncertainty Chapter 13. Outline Uncertainty Probability Syntax and Semantics Inference Independence and Bayes' Rule.
1 Chapter 13 Uncertainty. 2 Outline Uncertainty Probability Syntax and Semantics Inference Independence and Bayes' Rule.
Uncertainty Chapter 13. Outline Uncertainty Probability Syntax and Semantics Inference Independence and Bayes' Rule.
Probability and naïve Bayes Classifier Louis Oliphant cs540 section 2 Fall 2005.
An Introduction to Artificial Intelligence Chapter 13 & : Uncertainty & Bayesian Networks Ramin Halavati
CSE PR 1 Reasoning - Rule-based and Probabilistic Representing relations with predicate logic Limitations of predicate logic Representing relations.
Uncertainty Uncertain Knowledge Probability Review Bayes’ Theorem Summary.
Chapter 13 February 19, Acting Under Uncertainty Rational Decision – Depends on the relative importance of the goals and the likelihood of.
Uncertainty. Assumptions Inherent in Deductive Logic-based Systems All the assertions we wish to make and use are universally true. Observations of the.
Probability and Information Copyright, 1996 © Dale Carnegie & Associates, Inc. A brief review.
Uncertainty Chapter 13. Outline Uncertainty Probability Syntax and Semantics Inference Independence and Bayes' Rule.
Uncertainty Chapter 13. Outline Uncertainty Probability Syntax and Semantics Inference Independence and Bayes' Rule.
Introduction to Artificial Intelligence CS 438 Spring 2008 Today –AIMA, Ch. 13 –Reasoning with Uncertainty Tuesday –AIMA, Ch. 14.
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.
CSE 473 Uncertainty. © UW CSE AI Faculty 2 Many Techniques Developed Fuzzy Logic Certainty Factors Non-monotonic logic Probability Only one has stood.
Uncertainty Fall 2013 Comp3710 Artificial Intelligence Computing Science Thompson Rivers University.
Outline [AIMA Ch 13] 1 Uncertainty Probability Syntax and Semantics Inference Independence and Bayes' Rule.
Uncertainty & Probability CIS 391 – Introduction to Artificial Intelligence AIMA, Chapter 13 Many slides adapted from CMSC 421 (U. Maryland) by Bonnie.
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.
Computer Science cpsc322, Lecture 25
Pattern Recognition Probability Review
Bayesian Reasoning Chapter 13 Thomas Bayes,
Review of Probability.
AIMA 3e Chapter 13: Quantifying Uncertainty
Quick Review Probability Theory
Quick Review Probability Theory
Uncertainty Chapter 13 Copyright, 1996 © Dale Carnegie & Associates, Inc.
Where are we in CS 440? Now leaving: sequential, deterministic reasoning Entering: probabilistic reasoning and machine learning.
Uncertainty Chapter 13.
Uncertainty Chapter 13.
Where are we in CS 440? Now leaving: sequential, deterministic reasoning Entering: probabilistic reasoning and machine learning.
Uncertainty.
Uncertainty in Environments
Representing Uncertainty
Probability and Information
CS 188: Artificial Intelligence Fall 2007
Bayesian Reasoning Chapter 13 Thomas Bayes,
Bayesian Reasoning Chapter 13 Thomas Bayes,
Uncertainty Logical approach problem: we do not always know complete truth about the environment Example: Leave(t) = leave for airport t minutes before.
Uncertainty Chapter 13.
Uncertainty Chapter 13.
Uncertainty Chapter 13.
Uncertainty Chapter 13.
Presentation transcript:

Probability and Information A brief review Copyright, 1996 © Dale Carnegie & Associates, Inc.

CSE 572, CBS572: Data Mining by H. Liu Probability Probability provides a way of summarizing uncertainty that comes from our laziness and ignorance! Probability, belief of the truth of a sentence 1 - true, 0 - false, 0<P<1 - intermediate degrees of belief in the truth of the sentence Degree of truth (fuzzy logic) vs. degree of belief 11/19/2018 CSE 572, CBS572: Data Mining by H. Liu

CSE 572, CBS572: Data Mining by H. Liu All probability statements must indicate the evidence with respect to which the probability is being assessed. Prior or unconditional probability Posterior or conditional probability 11/19/2018 CSE 572, CBS572: Data Mining by H. Liu

Basic probability notation Prior probability Proposition - P(Sunny) Random variable - P(Weather=Sunny) Each Random Variable has a domain Probability distribution P(weather) = <.7,.2,.08,.02> Conditional probability P(A|B) = P(A^B)/P(B) Product rule - P(A^B) = P(A|B)P(B) Probabilistic inference does not work like logical inference. 11/19/2018 CSE 572, CBS572: Data Mining by H. Liu

The axioms of probability All probabilities are between 0 and 1 Necessarily true (valid) propositions have probability 1, false (unsatisfiable) 0 The probability of a disjunction P(AvB)=P(A)+P(B)-P(A^B) 11/19/2018 CSE 572, CBS572: Data Mining by H. Liu

The joint probability distribution Joint completely specifies an agent’s probability assignments to all propositions in the domain A probabilistic model consists of a set of random variables (X1, …,Xn). An atomic event is an assignment of particular values to all the variables. 11/19/2018 CSE 572, CBS572: Data Mining by H. Liu

CSE 572, CBS572: Data Mining by H. Liu Joint An example of two Boolean variables Observations: mutually exclusive and collectively exhaustive What are P(Cavity), P(Cavity v Toothache), P(Cavity|Toothache)? Impractical to specify all the entries for the Joint over n Boolean variable. If there is a Joint, we can read off any probability we need via marginalization. Sidestep the Joint and work directly with conditional probability using Bayes rule P(Cavity) = 0.04 +0.06 P(Cavity or Toothache) = P(C) + P(T) - P(CT) P(C|T) =P(CT)/P(T) 11/19/2018 CSE 572, CBS572: Data Mining by H. Liu

CSE 572, CBS572: Data Mining by H. Liu Bayes’ rule Deriving the rule via the product rule P(B|A) = P(A|B)P(B)/P(A) A more general case is P(X|Y) = P(Y|X)P(X)/P(Y) Bayes’ rule conditionalized on evidence E P(X|Y,E) = P(Y|X,E)P(X|E)/P(Y|E) Can you prove the above? Applying the rule to medical diagnosis page 426, meningitis P(M=1/50,000), stiff neck P(S)=1/20, M causes S P(S|M) = 0.5, what is P(M|S)? Relative likelihood Comparing the relative likelihood of meningitis and whiplash, given a stiff neck P(M|S)/P(W|S) = P(S|M)P(M)/P(S|W)P(W) Avoiding direct assessment of the prior P(M|S) + P(!M|S) = 1, P(S) = ? Can be solved by using product rules Normalization - P(Y|X)=P(X|Y)P(Y) 11/19/2018 CSE 572, CBS572: Data Mining by H. Liu

CSE 572, CBS572: Data Mining by H. Liu Independence Independent events A, B P(B|A)=P(B), P(A|B)=P(A), P(A,B)=P(A)P(B) – is it true in general? Conditional independence P(X|Y,Z)=P(X|Z) 11/19/2018 CSE 572, CBS572: Data Mining by H. Liu

CSE 572, CBS572: Data Mining by H. Liu Information & Entropy Entropy measures homogeneity of a collection of examples In information theory, defined as the average number of bits needed to encode the class of an arbitrary example With two classes in S, P and N, with p & n instances resp.; let t = p+n. I(S) = - (p/t) log2 (p/t) - (n/t) log2 (n/t) E.g., p=9, n=5, S=[9,5], I(S) = - (9/14) log2 (9/14) - (5/14) log2 (5/14) = 0.940 I([14,0])=0; I([7,7])=1 In general, I([s1,s2,…,sk])= -  (si/s) log2 (si/s) 11/19/2018 CSE 572, CBS572: Data Mining by H. Liu

CSE 572, CBS572: Data Mining by H. Liu Entropy curve For p/(p+n) between 0 & 1, the 2-class entropy is 0 when p/(p+n) is 0 monotonically increasing between 0 and 0.5 1 when p/(p+n) is 0.5 monotonically decreasing between 0.5 and 1 0 when p/(p+n) is 1 When the data is pure, no need to send any bits 11/19/2018 CSE 572, CBS572: Data Mining by H. Liu