Starting from:

$30

ECE471/571 – Homework #1

ECE471/571 – Homework #1 
Note: UG: 100+10, G: 100
Problem 1 (100/70): In a 1-D, 3-class problem, the density functions of all classes
are adequately represented by univariate Gaussians, with
µ1 = 4,σ1 = 2,µ2 = 6,σ 2 = 3,µ3 = 5,σ 3 = 2 .
(1) (15/10) Sketch the three density functions on the same figure using pencil and
paper (i.e., without MATLAB or any other software package). Assume equal
prior probability, predict how many decision regions there would be.
(2) (40/20) Assume equal prior probability,
a. (10/5) If x=4.7, which class does x belong to? Use the MAP method.
Show detailed steps.
b. (15/10) Find the decision boundary using analytical methods instead of
the sketch.
c. (15/5) Solve for the overall probability of error.
(3) (20/15) Assume that P(ω1) = 0.6,P(ω2 ) = 0.2,P(ω3 ) = 0.2 , and zero-one loss.
a. (10/5) Use MATLAB to draw the pdf and the posteriori probability.
Comment on the difference.
b. (5/5) Redo question 2 (a)
c. (5/5) Comment on the impact of prior probability.
(4) (10/10) What combinations of the standard deviations would generate just two
decision regions or one decision region?
(5) (15/15) Write an expression for the probability of error ( ) 1 p error |w that an
error occurs given that the truth is class 1. (Note: Be as specific as you can,
but no need to solve the expression)
Problem 2 (+10/30): The probability densities representing a two-class pattern are
( ) !
"
#

− ≤ = 0 ( 2)
exp( 2) ( 2) | 1 when y
y when y
p y ω
( ) !
"
# − − = otherwise
y b when y b
p y 0
exp( ( )) ( ) |ω2
The prior probabilities are ( ) ( ) 0.5 P ω1 = P ω2 =
(a) (+10/15) Sketch the two densities on the same figure for b<2. Show the
regions corresponding to the decision rule that minimizes the probability of
error.
(b) (0/10) What is P(error |ω1) (conditional probability of error when we decide
w2 but actually it should be w1) in terms of b? (Consider all values of b from –
inf to inf)
(c) (0/5) What is the value of b that maximizes ( )1 P error |ω ?

More products