Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Statistics and Probability Expert

Problem 1:

1. Consider the following set of two dimensional vectors from three categories:

ω1 ω2 ω3
x1 x2 x1 x2 x1 x2
10 0 5 LO 2 8
0 - I 0 0 5 -5 2
5 -2 5 5 10 -4

(a) Plot the decision boundary resulting from the nearest-neighbor rule just for categorizing ω1 and ω2. Find the sample means nil and m2 and on the same figure sketch the decision boundary corresponding to classifying x by assigning it to the category of the nearest sample mean.

(b) Repeat part (a) for categorizing only ω1 and ω3.

(c) Repeat part (a) for categorizing only ω2 and ω3,

(d) Repeat part (a) for a three-category classifier, classifying ω1, ω2 and ω3.

Need code for plots as well in MATLAB

Problem 2:

Consider classifiers based on samples with priors P(ω1) = P(ω2) = 0.5 and the distributions

                  2x for 0 ≤ x ≤ 1

p(x|ω1) =

                    0 otherwise,

                  2 - 2x for 0 ≤ x ≤ 1

p(x|ω2) =

                    0 otherwise,

(a) What is the Bayes decision rule and the Bayes classification error?

(b) Suppose we randomly select a single point from col and a single point from 41)2, and create a nearest-neighbor classifier. Suppose too we select a test point from one of the categories (to] for definiteness). Integrate to find the expected error rate Pi (e).

(c) Repeat with two training samples from each category and a single test point in order to find P2(e).

(d) Generalize to show that in general.

Pn(e) = 1/3  + 1/((n+1)(n + 3) + 1/2(n + 2)(n + 3)

Confirm this formula makes sense in the n = 1 case.

(e) Compare limn→∞Pn(e)with the Bayes error.

Problem 3

Repeat Problem 2 but with

                3/2 for 0 ≤ x ≤ 2/3

p(x|ω1) =

                    0 otherwise,

                  3/2  for 1/3 ≤ x ≤ 1

p(x|ω2) =

                    0 otherwise,

Statistics and Probability, Statistics

  • Category:- Statistics and Probability
  • Reference No.:- M91729405
  • Price:- $50

Guranteed 36 Hours Delivery, In Price:- $50

Have any Question?


Related Questions in Statistics and Probability

How does wholesale banking differ from retail banking in

How does wholesale banking differ from retail banking in terms of: (a) product range; (b) client coverage; (c) marketing; (4) risk management; (5) pricing.

The standard deviation of the market-index portfolio is 45

The standard deviation of the market-index portfolio is 45%. Stock A has a beta of 1.20 and a residual standard deviation of 55%. a-1. Calculate the total variance of stock A if its beta is increased by 0.20?  (Do not ro ...

Five percent of the eyeglasses sold at an optical retailer

Five percent of the eyeglasses sold at an optical retailer have tinted lenses. Forty pairs of glasses are sold on a particular day and six have tinted lenses. Identify n, p, and x.

A basket contains 5 bananas and 5 apples each of ten people

A basket contains 5 bananas and 5 apples. Each of ten people picks two fruits at random from the basket without replacement. (a) What is the probability that the first people picks one apple and one banana? (b) What is t ...

For the dataset38 39 41 42 42 43 43 45 45 47 50 50 51 51 53

For the dataset 38, 39, 41, 42, 42, 43, 43, 45, 45, 47, 50, 50, 51, 51, 53, 54 Without doing any calculations, estimate which of the following numbers is closest to the mean.

Cash flowsnbspnbspit is typical for jane to plan monitor

Cash flows  It is typical for Jane to plan, monitor, and assess her financial position using cash flows over a given period, typically a month. Jane has a savings account, and her bank loans money at 6% per year while it ...

1 you roll a fair four-sided die twice with sides numbered

1. You roll a fair four-sided die twice, with sides numbered 1,2,3 & 4, shaking it well each time before rolling. Let A be the event that your rst role is strictly less than 3 and B be the event that your second role is ...

A light bulb manufacturer guarantees that the mean life of

A light bulb manufacturer guarantees that the mean life of a certain type of light bulb is at least 720 hours. A random sample of 51 light bulbs as a mean of 710.3 hours with a standard deviation of 62 hours. At an α=0.0 ...

A clothing quality director determines the accuracy of nfl

A clothing quality director determines the accuracy of NFL Logos on t-shirts. 9% of the shirts made that day are defective. The shirts are sold in packages of 10. Find the probability that in one randomly selected packag ...

Te critical boundaries zcrit for a hypothesis test are z

The critical boundaries (Zcrit) for a hypothesis test are z = +1.96 and z = -1.96. If the z-score for the sample data is z = -1.90, then what is the correct statistical decision?  A) Reject H1  B) Fail to reject H1 C) Re ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As