Docsity

Practice Homework 1 - Pattern Recognition | EEL 6825, Assignments of Electrical and Electronics Engineering

Toggle sidebar
bg1
HW#1 EEL 6825 – Fall 2001
Due Friday, September 7, 2001 in class. Late homework will lose e#of days late −1
percentage points. Click on http://www.cnel.ufl.edu/hybrid/harris/latepoints.html
to see the current penalty. A computer is not necessary for this assignment.
1. You are given the following two 1-D distributions which are valid for all values of x:
p(x|ω1) = 1
2e−|x|
p(x|ω2) = e−2|x|
Assume that P(ω1) = 1/3 and P(ω2) = 2/3
(a) Compute the posterior probability P(ωi|x) for each class.
(b) Derive the Bayes classifier for this problem. In other words, how would you classify
new data points x?
(c) Sketch a plot that graphically indicates the Bayes error.
(d) Compute the numerical value of the Bayes error for this problem.
(e) Compute the value of the Bhatacharrya bound for this problem. Remember that
these are not normal distributions.
2. Three one-dimensional distributions are given as uniform in [0,1] for ω1, uniform in
[0,2] for ω2and uniform in [0,3] for ω3. Assume the a priori probabilities are equal.
(a) Compute P(ωi|x) for each class and sketch each function on a separate plot.
(b) Describe the Bayes classifier for the three distributions. Be sure to describe the
class for each possible value of x.
(c) Compute the Bayes error for this problem.
3. Two normal distributions are characterized by:
P(ω1) = P(ω2) = 0.5
µ1="0
1#, µ2="0
−1#
Derive the analytic form and sketch the Bayes decision boundary for the following
cases: (Also sketch some equi-probability contours for each distribution.)
1
pf2

Partial preview of the text

Download Practice Homework 1 - Pattern Recognition | EEL 6825 and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

HW#1 EEL 6825 – Fall 2001

Due Friday, September 7, 2001 in class. Late homework will lose e#^ of^ days late^ − 1 percentage points. Click on http://www.cnel.ufl.edu/hybrid/harris/latepoints.html to see the current penalty. A computer is not necessary for this assignment.

  1. You are given the following two 1-D distributions which are valid for all values of x:

p(x|ω 1 ) =

e−|x|

p(x|ω 2 ) = e−^2 |x| Assume that P (ω 1 ) = 1/3 and P (ω 2 ) = 2/ 3

(a) Compute the posterior probability P (ωi|x) for each class. (b) Derive the Bayes classifier for this problem. In other words, how would you classify new data points x? (c) Sketch a plot that graphically indicates the Bayes error. (d) Compute the numerical value of the Bayes error for this problem. (e) Compute the value of the Bhatacharrya bound for this problem. Remember that these are not normal distributions.

  1. Three one-dimensional distributions are given as uniform in [0,1] for ω 1 , uniform in [0,2] for ω 2 and uniform in [0,3] for ω 3. Assume the a priori probabilities are equal.

(a) Compute P (ωi|x) for each class and sketch each function on a separate plot. (b) Describe the Bayes classifier for the three distributions. Be sure to describe the class for each possible value of x. (c) Compute the Bayes error for this problem.

  1. Two normal distributions are characterized by:

P (ω 1 ) = P (ω 2 ) = 0. 5

μ 1 =

[ 0 1

] , μ 2 =

[ 0 − 1

]

Derive the analytic form and sketch the Bayes decision boundary for the following cases: (Also sketch some equi-probability contours for each distribution.)

(a) Σ 1 = Σ 2 = I

(b) Σ 1 = I

Σ 2 =

[ 2 0 0 1

]

(c)

Σ 1 =

[

  1. 5

. 5 1

]

[ 1 − 0. 5 − 0. 5 1

]

  1. Problem 2-6 in DH&S
  2. Problem 2-13 in DH&S
  3. (Extra credit) 2-32 in DH&S