Bayesian Decision Theory
Bayesian Decision Theory
Terminology
Terminology (cont’d)
e.g., lightness distributions
between salmon/sea-bass
populations
Terminology (cont’d)
Decision Rule Using Prior Probabilities
Decide ω1 if P(ω1) > P(ω2); otherwise decide ω2
or P(error) = min[P(ω1), P(ω2)]
Decision Rule Using Conditional Probabilities
where (i.e., scale factor – sum of probs = 1)
Decide ω1 if P(ω1 /x) > P(ω2 /x); otherwise decide ω2 or
Decide ω1 if p(x/ω1)P(ω1)>p(x/ω2)P(ω2) otherwise decide ω2
Decision Rule Using �Conditional pdf (cont’d)
P(ωj /x)
p(x/ωj)
Probability of Error
or
P(error/x) = min[P(ω1/x), P(ω2/x)]
Where do Probabilities Come From?
(1) Relative frequency (objective) approach.
(2) Bayesian (subjective) approach.
Prior and Posterior Probabilities
X | Y |
| A |
| A |
| B |
| A |
| B |
| A |
| B |
| B |
| B |
| A |
Example (objective approach)
Example (cont’d)
Example (cont’d)
Example (cont’d)
A More General Theory
Terminology
Conditional Risk (or Expected Loss)
Overall Risk
Overall Risk (cont’d)
(i) Computing R(αi /x) for every αi given an x
(ii) Choosing the action αi with the minimum R(αi /x)
Example: Two-category classification
(c=2)
Example: Two-category classification (cont’d)
or (i.e., using likelihood ratio)
or
>
threshold
likelihood ratio
Special Case:�Zero-One Loss Function
Special Case:�Zero-One Loss Function (cont’d)
or
or
Example
(decision regions)
Decide ω1 if p(x/ω1)/p(x/ω2)>P(ω2 )/P(ω1) otherwise decide ω2
Assuming zero-one loss:
>
assume:
Assuming general loss: