








Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!









This exam is open-book and calculator. You may use any books or papers that you like. There are four problems in this exam, you have two full class periods. State your assumptions and reasoning for each problem. Justify your steps and clearly indicate your final answers.
p(x|w1)
0
1
0 1 2 3
p(x|w2)
(a) (5 points) Derive the Bayes classifier for this two-class problem. In other words, how would you classify new data points x?
(c) (10 points) Suppose we add a third distribution p(x|ω 3 ) as shown below. Assume that P (ω 1 ) = P (ω 2 ) = P (ω 3 ) Does the Bayes error for this three-class problem increase or decrease (compared to the 2-class problem)? Justify your answer.
p(x|w1)
0
1
0 1 2 3 4
p(x|w2) p(x|w3)
μ 1 =
[ 0 0
] μ 2 =
[ 0 0
] Σ 1 =
[ 1 0 0 1
] Σ 2 =
[ (^1) 2 0 0 2
]
Assume that P (ω 1 ) = e/(e + 1) ≈ .7311 and P (ω 2 ) ≈ 1 /(e + 1) =. 2689
(a) (5 points) Sketch one equal probability contour for each distribution. (Make sure that the contour you draw for each distribution specifies the same probability value). Clearly label your axes.
(c) (5 points) Sketch the Bayes decision boundary on a plot that also shows the equiprobability contours. Clearly label your axes.
(d) (5 points) Compute the numerical value of the Bhatacharrya bound.
(b) (10 points) Derive the maximum likelihood estimate for μ given N data points x 1 , x 2 ,... , xN.
(c) (10 points) Three points are sampled from this distribution–their values just so happen to be x(1)^ = 1, x(2)^ = 2 and x(3)^ = 17. What is the value of μ for the most likely distribution to have generated these two points? (Note: you may be able to figure out this part even if you can’t fully finish part b)
(d) (5 points) Consider a two-class classification problem with
P (ω 1 ) = P (ω 2 ) = 0. 5
Assume that data are sampled from Normal distributions. Make any other as- sumptions that you feel are necessary. Class ω 1 sample points are given by: [ 0 1
] ,
[ 1 2
] and
[ − 1 2
]
Class ω 2 sample points are given by: [ 0 − 1
] ,
[ 1 0
] and
[ − 1 0
]
Compute the sampled mean and sampled covariance matrix for each class.
(e) (5 points) Derive the w vector given by the Fisher discriminant for the data in problem 4(d) on the last page. Make sure that you normalize the vector to unit length. Does your answer make sense?