1
Solutions To Problems of Chapter 7
7.1. Show that the Bayesian classifier is optimal, in the sense that it minimizes
the probability of error.
Hint: Consider a classification task of Mclasses and start with the proba-
bility of correct label prediction, P(C). Then the probability of error will
be P(e)=1−P(C).
Solution: Let P(C) be the probability of correct classification. Then
P(C) =
M
X
i=1
P(x∈Ri, ωi) =
M
X
i=1
P(ωi)P(x∈Ri|ωi),
or
M
X
M
X
7.2. Show that if the data follow the Gaussian distribution in an Mclass task,
with equal covariance matrices in all classes, the regions formed by the
Bayesian classifier are convex.
Solution: Consider two points, x1,x2, lying in Ri. Then any point lying
on the line segment, which connects these two points, can be written as