Assignment 1 - Statistical Pattern Recognition | ENEE 633, Assignments of Electrical and Electronics Engineering

Material Type: Assignment; Professor: Chellappa; Class: STAT PATTERN RECOG; Subject: Electrical & Computer Engineering; University: University of Maryland; Term: Unknown 1989;

Typology: Assignments

Pre 2010

Uploaded on 02/13/2009

koofers-user-nx5-1
koofers-user-nx5-1 🇺🇸

10 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
ENEE 633 / CMSC 828C : Statistical Pattern Recognition
Assignment 1
1. Consider a classification problem in which the loss incurred when an input vector from
class Ckis classified as belonging to class Cjis given by the loss matrix Lkj, and for which the
loss incurred in selecting the reject option is λ. Find the decision criterion that will give the
minimum expected loss. Verify that this reduces to the reject criterion discussed in Section
1.5.3 when the loss matrix is given by Lkj =1Ikj. What is the relationship between λand the
rejection threshold θ? (Q 1.24 from Bishop)
2. Consider the minimax criterion for a two category classification problem.
(a) Fill in the steps of the derivation of Eq. 23
(b) Explain why the overall Bayes risk must be concave down as a function of the prior P(w1),
as shown in Fig. 2.4.
(c) Assume we have one-dimensional Gaussian distributions p(x|wi)N(µi,σ2
i),i=1,2, but
completely unknown prior probabilities. Use the minimax criterion to find the optimal decision
point xin terms of µiand σiunder a zero-one risk.
(d) For the decision point xyou found in (c), what is the overall minimax risk ? Express this
risk in terms of an error function erf(.).
(e) Assume p(x|w1)N(0,1)and p(x|w2)N(1
2,1
2), under a zero-one loss. Find xand the
overall minimax loss.
(d) Assume p(x|w1)N(5,1)and p(x|w2)N(6,1). Without performing any explicit
calculations, determine xfor the minimax criterion. Explain your reasoning. (Q 2.4 from
Duda, Hart and Stock)
3. Let the conditional densities for a two category one-dimensional problem be given by
the Cauchy distribution described as
p(x|wi) = 1
πb
˙
1
1+xai
b2,i=1,2,a2>a1(1)
(a) By explicit integration, check that the distributions are indeed normalized.
(b) Assuming P(w1) = P(w2), show that P(w1|x) = P(w2|x)if x= (a1+a2)/2, that is,
the minimum error decision boundary is a point midway between the peaks of the two
distributions, regardless of b.
(c) Plot P(w1|x)for the case a1=3, a2=5 and b=1.
(d) How do P(w1|x)and P(w2|x)behave as x ?x+?. Explain. (Q 2.8 from Duda,
Hart and Stock)
4. Let wmax(x)be the state of nature for which P(wmax |x)P(wi|x)for all i, i=1...c.
(a) Show that P(wmax|x)1
c.
(b) Show that for the minimum-error-rate decision rule the average probability of error is given
by
P(error) = 1ZP(wmax|x)p(x)dx(2)
(c) Use these two results to show that P(error)(c1)
c.
(d) Describe a situation for which P(error) = (c1)
c. (Q 2.12 from Duda, Hart and Stock)
pf2

Partial preview of the text

Download Assignment 1 - Statistical Pattern Recognition | ENEE 633 and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

ENEE 633 / CMSC 828C : Statistical Pattern Recognition

Assignment 1

  1. Consider a classification problem in which the loss incurred when an input vector from class Ck is classified as belonging to class Cj is given by the loss matrix Lkj, and for which the loss incurred in selecting the reject option is λ. Find the decision criterion that will give the minimum expected loss. Verify that this reduces to the reject criterion discussed in Section 1.5.3 when the loss matrix is given by Lkj = 1 − Ikj. What is the relationship between λ and the rejection threshold θ? (Q 1.24 from Bishop)
  2. Consider the minimax criterion for a two category classification problem. (a) Fill in the steps of the derivation of Eq. 23 (b) Explain why the overall Bayes risk must be concave down as a function of the prior P(w 1 ), as shown in Fig. 2.4. (c) Assume we have one-dimensional Gaussian distributions p(x|wi) ∼ N(μi, σ (^) i^2 ), i = 1 , 2, but completely unknown prior probabilities. Use the minimax criterion to find the optimal decision point x∗^ in terms of μi and σi under a zero-one risk. (d) For the decision point x∗^ you found in (c), what is the overall minimax risk? Express this risk in terms of an error function erf(.). (e) Assume p(x|w 1 ) ∼ N( 0 , 1 ) and p(x|w 2 ) ∼ N( 12 , 12 ), under a zero-one loss. Find x∗^ and the overall minimax loss. (d) Assume p(x|w 1 ) ∼ N( 5 , 1 ) and p(x|w 2 ) ∼ N( 6 , 1 ). Without performing any explicit calculations, determine x∗^ for the minimax criterion. Explain your reasoning. (Q 2.4 from Duda, Hart and Stock)
  3. Let the conditional densities for a two category one-dimensional problem be given by the Cauchy distribution described as

p(x|wi) =

πb

( (^) x−ai b

) 2 ,^ i^ =^1 ,^2 ,^ a 2 >^ a 1 (1)

(a) By explicit integration, check that the distributions are indeed normalized. (b) Assuming P(w 1 ) = P(w 2 ), show that P(w 1 |x) = P(w 2 |x) if x = (a 1 + a 2 )/2, that is, the minimum error decision boundary is a point midway between the peaks of the two distributions, regardless of b. (c) Plot P(w 1 |x) for the case a 1 = 3, a 2 = 5 and b = 1. (d) How do P(w 1 |x) and P(w 2 |x) behave as x → −∞?x → +∞?. Explain. (Q 2.8 from Duda, Hart and Stock)

  1. Let wmax(x) be the state of nature for which P(wmax|x) ≥ P(wi|x) for all i, i = 1... c. (a) Show that P(wmax|x) ≥ (^1) c. (b) Show that for the minimum-error-rate decision rule the average probability of error is given by

P(error) = 1 −

∫ P(wmax|x)p(x) dx (2)

(c) Use these two results to show that P(error) ≤ (c− c 1 ).

(d) Describe a situation for which P(error) = (c− c 1 ). (Q 2.12 from Duda, Hart and Stock)

  1. In many pattern classification problems one has the option either to assign the pattern to one of c classes or to re ject it as being unrecognizable. If the cost for rejects is not too high, rejection may be a desirable action. Let

λ (αi|ω (^) j) =

0 i = j i, j = 1 ,... , c λr i = c + 1 λs otherwise,

where λr is the loss incurred for choosing the (c+1)th action, rejection, and λs is the loss incurred for making any substitution error. Show that the minimum risk is obtained if we decide ωi if P(ωi|x) ≥ P(ω (^) j|x) for all j and if P(ωi|x) ≥ 1 − λ λrs , and reject otherwise. What happens if λr = 0? What happens if λr > λs? (Q 2.13 from Duda, Hart and Stock)

  1. Consider the classification problem with rejection option. (a) Use the results of Problem 5, to show that the following discriminant functions are optimal for such problems :

gi(x) =

p(x|ωi)P(ωi) i = 1... c λs−λr λs ∑

c j= 1 p(x|ω^ j)P(ω^ j)^ i^ =^ c^ +^1

(b) Plot these discriminant functions and the decision regions for the two category one- dimensional case having

  • p(x|ω 1 ) ∼ N( 1 , 1 )
  • p(x|ω 2 ) ∼ N(− 1 , 1 )
  • P(ω 1 ) = P(ω 2 ) = 1 /2, and
  • λ λrs = (^14)

(c) Describe qualitatively what happens as λ λrs increased from 0 to 1. (d) Repeat for the case having

  • p(x|ω 1 ) ∼ N( 1 , 1 )
  • p(x|ω 2 ) ∼ N( 0 , 14 )
  • P(ω 1 ) = 13 , P(ω 2 ) = 23 , and
  • λ λrs = (^12)

(Q 2.14 from Duda, Hart and Stock)