What is bayes decision rule and bayes classification error

Assignment Help Basic Statistics
Reference no: EM131013717

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,

Reference no: EM131013717

Questions Cloud

Discuss the bounce-diagram technique of keeping track : Discuss the bounce-diagram technique of keeping track of the bouncing back and forth of the transient waves on a transmission line for a pulse voltage source.
Difference between return and yield-to-maturity of a bond : Explain the difference between return and yield-to-maturity of a bond. Please be precise and give examples if necessary.
What''s the stock''s capm beta : 13%, and the risk-free rate is 5%, what's the stock's CAPM beta?
How these strengths are expressed in your daily life : What were your five highest strengths? Describe how these strengths are expressed in your daily life. Are there any you do not exercise regularly
What is bayes decision rule and bayes classification error : What is the Bayes decision rule and the Bayes classification error - Repeat with two training samples from each category and a single test point in order to find
According to the capm capital asset pricing model : According to the CAPM (capital asset pricing model), the security market line is a straight line. The intercept of this line should be equal
What are the arguments for and against an index fund : What are the arguments for and against an index fund? Are these arguments stronger or weaker for funds investing in large-cap U.S. stocks, small-cap U.S. stocks, and foreign stocks? Please go straight to the point
What is its expected return : The risk-free rate is 5% and the expected return on the market portfolio is 13%. A stock has a beta of 1.5, what is its expected return?
Variable rate mortgage with an initial interest rate : During February 2016, John Smith financed the purchase of his new home by borrowing $250,000 from the Bank of America (BA). Although he was offered a conventional 30-year loan at a fixed rate of 5.4 percent, Mr. Smith chose BA's “5/30” variable rate ..

Reviews

Write a Review

Basic Statistics Questions & Answers

  In a study conducted to investigate browsing activity by

in a study conducted to investigate browsing activity by shoppers each shopper was initially classified as a in a study

  Difference in the unemployment status of the alumni

Does having an advanced degree make any difference in the unemployment status of the alumni of this University? Support your answer adequately.

  To evaluate the effect of a treatment a sample is obtained

to evaluate the effect of a treatment a sample is obtained from a population with a mean of u 30 and the treatment is

  The mean weight of loads of rock is 510 tons with a

the mean weight of loads of rock is 51.0 tons with a standard deviation of 6.0 tons. if 16 loads are chosen at random

  Are marketing personnel extroverts

Approximately 65% of all marketing personnel are extroverts, whereas about 50% of all computer programmers are introverts.

  Compute the standard error of the mean

Wwhat can we say about the shape of the distribution of the sample mean? What is the standard error of the mean?

  Scuba-diving trips

The mailing list of an agency that markets scuba-diving trips to the Florida Keys contains 60% males and 40% females. The agency calls 30 people chosen at random from its list.

  The lenght of time x to complete a standard achievement

the lenght of time x to complete a standard achievement test is approximately normally distributed with a mean of 58

  Internet-based advertising

A company that relies on Internet-based advertising linked to key search terms wants to understand the relationship between the amount it spends on this advertising and revenue (in $).

  Sampling distribution-confidence interval

Using your knowledge about the central limit theorem (CLT), and assuming that the CLT has already "established itself" / "kicked in" when the sample size is 85, what is the probability that the sample average that you calculated will lie between 1..

  Probability that stock- return will be at least given value

Suppose that an individual stock's return is normally distributed with a mean of 10% and a standard deviation of 8%. What is the probability that the stock's return will be at least 16%?

  Linear optimization.

Linear Optimization.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd