Introduction to Probability and Bayesian Decision Making Soo-Hyung Kim Department of Computer Science Chonnam National University.

Slides:



Advertisements
Similar presentations
CS433: Modeling and Simulation
Advertisements

Random Variables ECE460 Spring, 2012.
A.P. STATISTICS LESSON 7 – 1 ( DAY 1 ) DISCRETE AND CONTINUOUS RANDOM VARIABLES.
Laws of division of casual sizes. Binomial law of division.
DEPARTMENT OF HEALTH SCIENCE AND TECHNOLOGY STOCHASTIC SIGNALS AND PROCESSES Lecture 1 WELCOME.
Continuous Random Variable (1). Discrete Random Variables Probability Mass Function (PMF)
Review of Basic Probability and Statistics
Introduction to stochastic process
Probability Review 1 CS479/679 Pattern Recognition Dr. George Bebis.
Probability Theory Part 2: Random Variables. Random Variables  The Notion of a Random Variable The outcome is not always a number Assign a numerical.
Probability Distributions Finite Random Variables.
Probability Distributions
Pattern Classification, Chapter 1 1 Basic Probability.
Probability and Statistics Review
1 Engineering Computation Part 5. 2 Some Concepts Previous to Probability RANDOM EXPERIMENT A random experiment or trial can be thought of as any activity.
Ya Bao Fundamentals of Communications theory1 Random signals and Processes ref: F. G. Stremler, Introduction to Communication Systems 3/e Probability All.
Review of Probability and Random Processes
1 11 Lecture 12 Overview of Probability and Random Variables (I) Fall 2008 NCTU EE Tzu-Hsien Sang.
Chapter 21 Random Variables Discrete: Bernoulli, Binomial, Geometric, Poisson Continuous: Uniform, Exponential, Gamma, Normal Expectation & Variance, Joint.
Hamid R. Rabiee Fall 2009 Stochastic Processes Review of Elementary Probability Lecture I.
Prof. SankarReview of Random Process1 Probability Sample Space (S) –Collection of all possible outcomes of a random experiment Sample Point –Each outcome.
Physics Fluctuomatics (Tohoku University) 1 Physical Fluctuomatics 2nd Mathematical Preparations (1): Probability and statistics Kazuyuki Tanaka Graduate.
Pairs of Random Variables Random Process. Introduction  In this lecture you will study:  Joint pmf, cdf, and pdf  Joint moments  The degree of “correlation”
STAT 552 PROBABILITY AND STATISTICS II
OUTLINE Probability Theory Linear Algebra Probability makes extensive use of set operations, A set is a collection of objects, which are the elements.
Probability Theory and Random Processes
Biostatistics-Lecture 2 Ruibin Xi Peking University School of Mathematical Sciences.
Probability for Estimation (review) In general, we want to develop an estimator for systems of the form: We will primarily focus on discrete time linear.
Chapter 1 Probability and Distributions Math 6203 Fall 2009 Instructor: Ayona Chatterjee.
Short Resume of Statistical Terms Fall 2013 By Yaohang Li, Ph.D.
Chapter 12 Review of Calculus and Probability
Random Variables & Probability Distributions Outcomes of experiments are, in part, random E.g. Let X 7 be the gender of the 7 th randomly selected student.
Statistics for Engineer Week II and Week III: Random Variables and Probability Distribution.
Physics Fluctuomatics / Applied Stochastic Process (Tohoku University) 1 Physical Fluctuomatics Applied Stochastic Process 2nd Probability and its fundamental.
Probability theory Petter Mostad Sample space The set of possible outcomes you consider for the problem you look at You subdivide into different.
Mathematics and Statistics Boot Camp II David Siroky Duke University.
Computer Vision Group Prof. Daniel Cremers Autonomous Navigation for Flying Robots Lecture 5.2: Recap on Probability Theory Jürgen Sturm Technische Universität.
Tim Marks, Dept. of Computer Science and Engineering Random Variables and Random Vectors Tim Marks University of California San Diego.
Lecture V Probability theory. Lecture questions Classical definition of probability Frequency probability Discrete variable and probability distribution.
Slide 5-1 Chapter 5 Probability and Random Variables.
Uniovi1 Some statistics books, papers, etc. G. Cowan, Statistical Data Analysis, Clarendon, Oxford, 1998 see also R.J. Barlow,
Probability Review-1 Probability Review. Probability Review-2 Probability Theory Mathematical description of relationships or occurrences that cannot.
2. Introduction to Probability. What is a Probability?
Probability (outcome k) = Relative Frequency of k
Copyright © 2006 The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Review of Statistics I: Probability and Probability Distributions.
Review of Probability. Important Topics 1 Random Variables and Probability Distributions 2 Expected Values, Mean, and Variance 3 Two Random Variables.
Random Variables. Numerical Outcomes Consider associating a numerical value with each sample point in a sample space. (1,1) (1,2) (1,3) (1,4) (1,5) (1,6)
CHAPTER Discrete Models  G eneral distributions  C lassical: Binomial, Poisson, etc Continuous Models  G eneral distributions 
Chapter 2: Probability. Section 2.1: Basic Ideas Definition: An experiment is a process that results in an outcome that cannot be predicted in advance.
Pattern Recognition Mathematic Review Hamid R. Rabiee Jafar Muhammadi Ali Jalali.
1 Review of Probability and Random Processes. 2 Importance of Random Processes Random variables and processes talk about quantities and signals which.
Physics Fluctuomatics (Tohoku University) 1 Physical Fluctuomatics 2nd Probability and its fundamental properties Kazuyuki Tanaka Graduate School of Information.
Pattern Recognition Mathematic Review Hamid R. Rabiee Jafar Muhammadi Ali Jalali.
디지털통신 Random Process 임 민 중 동국대학교 정보통신공학과 1.
Random Variables By: 1.
Topic Overview and Study Checklist. From Chapter 7 in the white textbook: Modeling with Differential Equations basic models exponential logistic modified.
Pattern Recognition Probability Review
Chapter 4 Using Probability and Probability Distributions
Lecture 6 Continuous Random Variables-I
Graduate School of Information Sciences, Tohoku University
Quick Review Probability Theory
Probability for Machine Learning
Appendix A: Probability Theory
Distributions cont.: Continuous and Multivariate
Graduate School of Information Sciences, Tohoku University
Basic Probability aft A RAJASEKHAR YADAV.
AP Statistics: Chapter 7
DataMining, Morgan Kaufmann, p Mining Lab. 김완섭 2004년 10월 27일
Experiments, Outcomes, Events and Random Variables: A Revisit
1/2555 สมศักดิ์ ศิวดำรงพงศ์
Presentation transcript:

Introduction to Probability and Bayesian Decision Making Soo-Hyung Kim Department of Computer Science Chonnam National University

2 Bayesian Decision Making Definition of Probability Conditional Probability Bayes’ Theorem Probability Distribution Gaussian Random Variable Naïve Bayesian Decision References

3 Bayesian Decision Making (1/2) Male/Female Classification Given a priori data of pairs, (168, m ) (146, f ) (173, m ) (160, f ) (157, m ) (156, f ) (163, m ) (159, f ) (162, m ) (149, f ) What is the sex of a people whose height is 160?

4 Bayesian Decision Making (2/2) UCI-Iris Data Classification Given a dataset of 150 tuples of 4 numeric attributes Min Max Mean SD Correlation sepal length: sepal width: petal length: petal width: types of class : Iris Setosa, Iris Versicolour, Iris Virginica What is the class of the data ?

5 UCI-Iris Data

6 Definition of Probability (1/4) Experiment & Probability Experiment = procedure + observation Sample : a possible outcome of an experiment Sample space : set of all samples  = { s 1, s 2, …, s N } Event : set of samples (or subset of , A   )  Probability : a value associated with an event, P ( A )

7 Definition of Probability (2/4) Various Definitions of Probability, where samples are all equally likely Axiomatic Model 

8 Definition of Probability (3/4) Probability Axioms (A. N. Kolmogorov) 1. For any event A, P ( A )  0 2. P (  ) = 1 3. For any countable collection A 1, A 2, … of mutually exclusive events, P ( A 1  A 2  … ) = P ( A 1 ) + P ( A 2 ) + …

9 Definition of Probability (4/4) Properties of Probability P (  ) =0 P ( A c ) = 1 – P ( A ) P ( A  B ) = P ( A ) + P ( B ) – P ( A, B ) If A & B are mutually exclusive, P ( A  B ) = P ( A ) + P ( B ) If A  B, P ( A )  P ( B )

10 Conditional Probability (1/3) Prob. of event A given the occurrence of event B Independence: if A & B are independent events,

11 Conditional Probability (2/3) Properties of P ( A | B ) 1. For any event A & B, P ( A|B )  0 2. P ( B|B ) = 1 3. If A=A 1  A 2  … where A 1, A 2, … are mutually exclusive, P ( A|B ) = P ( A 1 |B ) + P ( A 2 |B ) + …

12 Conditional Probability (3/3) Total Probability Law Event space : set { B 1, B 2, …, B m } of events which are mutually exclusive: B i  B j = , i  j collectively exhaustive: B 1  B 2  …  B n =  For an event space { B 1, B 2, …, B m } with P ( B i )>0,

13 Bayes’ Theorem (1/2) From the definition of conditional probability, If the set { C 1, C 2, …, C m } is an event space then, from the total probability law,

14 Bayes’ Theorem (2/2) Posterior Probability Example Application A: 기침 질병의 집합 : C = { C 1 ( 독감 ), C 2 ( 고지혈증 ), …, C m ( 폐암 )} 기침하는 환자가 어떤 질병에 걸렸는지 판단  P ( 독감 | 기침 ), P ( 고지혈증 | 기침 ), …, P ( 폐암 | 기침 ) Generalization

15 Probability Distribution Probability Model, P (  ) A function that assigns a probability to each sample Histogram Table Mathematical Formula

16 Random Variable A function that assigns a real value to each element in sample space (  ) X : s i  x, where s i , x  R If s i =aaraaa, X ( s i ) = 5 (number of a ) Prob. Model for a discrete random variable P K ( k ): probability mass function (PMF) Prob. Model for a continuous random variable f X ( x ): probability density function (PDF)

17 Cumulative Probability Distribution (CDF) F R ( r ) = P R ( R  r )

18 PMF vs PDF PMF: P K ( k )= P K ( K=k ) PDF:

19 Gaussian Random Variable (1/6) PDF of a random variable X has a form of  is an average;  is a standard deviation (  >0)

20 Gaussian Random Variable (2/6) Example #1: 10 pairs of (168, m ) (146, f ) (173, m ) (160, f ) (157, m ) (156, f ) (163, m ) (159, f ) (162, m ) (149, f ) MLE for the PDF of H(Height) for the class m

21 Gaussian Random Variable (3/6) MLE for the PDF of H(Height) for the class f Classification of a people whose height is 160 Classify the data into male (with a probability of 0.59)

23 Gaussian Random Variable (4/6) PDF of a n -D random vector X has a form of  X is an average vector; C X is a covariance matrix where c ij = Cov( x i, x j ) = E ( x i x j ) –  i  j

24 Gaussian Random Variable (5/6) Example #2: UCI–Iris data Learning Phase MLE of PDF for a 4-D R.V. X for individual classes Using a part of the data (e.g., 30 out of 50 samples) Generalization (Testing) Phase Using a sample which are not used in learning If classify x into the class having the maximum posterior probability

25 Gaussian Random Variable (6/6)

26 Naïve Bayesian Decision Accuracy of Bayesian Decision depends on Independence assumption can make it!

27 UCI Data

28 References Textbooks R.D. Yates and D.J. Goodman, Probability and Stochastic Processes, 2 nd ed., Wiley, 송홍엽, 정하봉, 확률과 랜덤변수 및 랜덤과정, 교보문고, R.E. Walpole, et. al., Probability and Statistics for Engineers and Scientist, 7 th ed., Prentice Hall, W. Mendelhall, Probability and Statistics, 12 th ed., Thomson Brooks/Cole, 신양우, 기초확률론, 경문사,