Docsity

4 Problem on Pattern Recognition - Quiz I | EEL 6825, Quizzes of Electrical and Electronics Engineering

Toggle sidebar
bg1
EEL6825: Pattern Recognition
Quiz I
Fall 2003
Problem 1. (5 points)
When rolling an unbiased die 6 times, which of the following outcomes has a higher probability?
Why?
1. The outcome has three 1’s and three 6’s.
2. The outcome is the sequence {1,2,3,4,5,6}.
Problem 2. (25 points)
Let two random variables, xand y, have a joint probability distribution function (pdf)
pxy(x, y) = 1
8πe−
x2+y2+6x−2y+10
8(1)
Answer the following questions:
1. What type of distribution is pxy(x, y )? (5 points)
2. Are xand yindependent? (5 points)
3. Are xand ycorrelated? (5 points)
4. What are the mean and variance values of x? (10 points)
Problem 3. (35 points)
The two classes, ω1and ω2, of the random variable xare distributed, as shown in Figure 1. The
prior probabilities of the two classes ω1and ω2are equal.
1. Compute the constant k. (5 points)
2. Derive the Bayes classifier to classify data xinto the two classes ω1and ω2. (10 points)
3. Sketch a graph that indicates the Bayes error for the classifier from 2. Mark all the important
points in the graph. (10 points)
4. Compute the Bayes error for the classifier from 2. (10 points)
1
pf2

Partial preview of the text

Download 4 Problem on Pattern Recognition - Quiz I | EEL 6825 and more Quizzes Electrical and Electronics Engineering in PDF only on Docsity!

EEL6825: Pattern Recognition

Quiz I

Fall 2003

Problem 1. (5 points)

When rolling an unbiased die 6 times, which of the following outcomes has a higher probability? Why?

  1. The outcome has three 1’s and three 6’s.
  2. The outcome is the sequence { 1 , 2 , 3 , 4 , 5 , 6 }.

Problem 2. (25 points)

Let two random variables, x and y, have a joint probability distribution function (pdf)

pxy(x, y) =

8 π e−^

x^2 +y^2 +6x− 2 y+ (^8) (1)

Answer the following questions:

  1. What type of distribution is pxy(x, y)? (5 points)
  2. Are x and y independent? (5 points)
  3. Are x and y correlated? (5 points)
  4. What are the mean and variance values of x? (10 points)

Problem 3. (35 points)

The two classes, ω 1 and ω 2 , of the random variable x are distributed, as shown in Figure 1. The prior probabilities of the two classes ω 1 and ω 2 are equal.

  1. Compute the constant k. (5 points)
  2. Derive the Bayes classifier to classify data x into the two classes ω 1 and ω 2. (10 points)
  3. Sketch a graph that indicates the Bayes error for the classifier from 2. Mark all the important points in the graph. (10 points)
  4. Compute the Bayes error for the classifier from 2. (10 points)

0 1 2 3

k

p(x|ω1)

x 0 1 2 3

k

4

x

p(x|ω2)

Figure 1: The two distributions for Problem 3.

Problem 4. (35 points)

Let a 2-D random vector U, defined as U = [x y]T^ , have a uniform distribution:

pU(U |θx, θy ) =

k , θx − 0. 5 ≤ x ≤ θx + 0. 5 , θy − 1. 5 ≤ y ≤ θy + 1. 5 , 0 , otherwise ,

where k denotes a constant, and θx and θy are parameters of the distribution pU(U |θx, θy ). Further, suppose that the following 5 samples of U:

U 1 =

[

]

, U 2 =

[

]

, U 3 =

[

]

, U 4 =

[

]

, U 5 =

[

]

are drawn independently from the distribution pU(U |θx, θy).

  1. Find the constant k (5 points)
  2. Compute the maximum likelihood estimate (ML) of the parameters θx and θy , using the given independent samples Ui, i ∈ [1, 5]. (30 points)