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

  Statistics-probability assignment

MATH1550H: Assignment:  Question:  A word is selected at random from the following poem of Persian poet and mathematician Omar Khayyam (1048-1131), translated by English poet Edward Fitzgerald (1808-1883). Find the expected value of the length of th..

  What is the least number

MATH1550H: Assignment:  Question:     what is the least number of applicants that should be interviewed so as to have at least 50% chance of finding one such secretary?

  Determine the value of k

MATH1550H: Assignment:  Question:     Experience shows that X, the number of customers entering a post office during any period of time t, is a random variable the probability mass function of which is of the form

  What is the probability

MATH1550H: Assignment:Questions: (Genetics) What is the probability that at most two of the offspring are aa?

  Binomial distributions

MATH1550H: Assignment:  Questions:  Let’s assume the department of Mathematics of Trent University has 11 faculty members. For i = 0; 1; 2; 3; find pi, the probability that i of them were born on Canada Day using the binomial distributions.

  Caselet on mcdonald’s vs. burger king - waiting time

Caselet on McDonald’s vs. Burger King - Waiting time

  Generate descriptive statistics

Generate descriptive statistics. Create a stem-and-leaf plot of the data and box plot of the data.

  Sampling variability and standard error

Problems on Sampling Variability and Standard Error and Confidence Intervals

  Estimate the population mean

Estimate the population mean

  Conduct a marketing experiment

Conduct a marketing experiment in which students are to taste one of two different brands of soft drink

  Find out the probability

Find out the probability

  Linear programming models

LINEAR PROGRAMMING MODELS

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