Professional Documents
Culture Documents
Sargur Srihari
CSE 555
Introduction to Pattern Recognition
Reverend Thomas Bayes
1702-1761
Bayes set out his theory of probability in Essay towards solving a problem in the doctrine of
chances published in the Philosophical Transactions of the Royal Society of London in 1764.
The paper was sent to the Royal Society by Richard Price, a friend of Bayes', who wrote:-
I now send you an essay which I have found among the papers of our deceased friend Mr Bayes,
and which, in my opinion, has great merit... In an introduction which he has writ to this Essay,
he says, that his design at first in thinking on the subject of it was, to find out a method by which
we might judge concerning the probability that an event has to happen, in given circumstances,
upon supposition that we know nothing concerning it but that, under the same circumstances,
it has happened a certain number of times, and failed a certain other number of times.
CSE 555: Srihari 1
Bayes Rule
Two Classes(A, ~A) , Single Binary-Valued Feature (X,~X)
Known
Data
Feature x
Feature x Feature x
CSE 555: Srihari 7
Bayes Decision Rule
Therefore:
whenever we observe a particular x, the probability of
error is :
P(error | x) = P(ω1 | x) if we decide ω2
P(error | x) = P(ω2 | x) if we decide ω1
Therefore:
P(error | x) = min [ P(ω1 | x), P(ω2 | x) ]
(Bayes decision)
Conditional risk
Minimizing R Minimizing R(αi | x) for i = 1,…, a
j =c
Expected Loss with action i
R( α i | x ) = ∑ λ ( α i | ω j ) P ( ω j | x )
j =1
Conditional risk:
P ( x | ω 1 ) λ12 − λ 22 P ( ω 2 )
if > .
P ( x | ω 2 ) λ 21 − λ11 P ( ω 1 )
P(ω1) = 2/3
P(ω2) = 1/3
⎡1 2⎤
λ=⎢ ⎥
⎣3 4 ⎦
CSE 555: Srihari 17