Question

In: Statistics and Probability

The posterior probabilities of four hypothesis h1,h2,h3,h4 are (0.2, 0.5,0.2, 0.1) respectively. A new training sample...

The posterior probabilities of four hypothesis h1,h2,h3,h4 are (0.2, 0.5,0.2, 0.1) respectively. A new training sample is classified +ve by h2 and h3, while h1 and h4 classify the same data instance as -ve. Find the classification with Bayes Optimal Classifier and Brute Force Classification?

Solutions

Expert Solution

The naive bayes classifier treats every attribute independently It will sum up the weightage of the classifiers which identified the tuple as +ve and -ve separately and compare them The sample will be assigned to the class with more value

given h2 and h3 identified as +ve Sum of weight of h2 and h3 = 0.5 + 0.2 = 0.7

h1 and h4 identified as -ve Sum of weight of h1 and h4 = 0.2 + 0.1 = 0.3

Since sum of +ve class is more hence the new sample will be classified as +ve

In brute force classification, the posterior do not matters It will check the number of classifiers which identified the sample as +ve and -ve and The sample will be assigned to the class with one with the more value

Since sample is identified as -ve by 2 classifiers(h1 and h4) and +ve by 2 classifiers(h2 and h3) Therefore it is a tie and the sample will be assigned to the default class (Default class is pre decided by the developer)


Related Solutions

A sample space has four possible discrete outcomes: S={1,2,3,4} with probabilities 0.1, 0.2, 0.3, 0.4 respectively....
A sample space has four possible discrete outcomes: S={1,2,3,4} with probabilities 0.1, 0.2, 0.3, 0.4 respectively. a) Sketch the density function fx(x) b) Write the equation for the density function c) Calculate the probability of outcomes between 2 and 3 inclusively d) Sketch the distribution function Fx(x) e) Write the equation of the distribution function f) Use the distribution function to calculate the probability of outcomes between 2 and 3 inclusively (don't forget to use the next lower outcome for...
∆H1,  ∆H2, and ∆H3 are the enthalpy of the following reactions: NaOH(s) àNa+(aq) + OH-(aq)            ∆H1...
∆H1,  ∆H2, and ∆H3 are the enthalpy of the following reactions: NaOH(s) àNa+(aq) + OH-(aq)            ∆H1 NaOH(s) + H+(aq) + Cl-(aq)àH2O(l) + Na+(aq) + Cl-(aq)    ∆H2 Na+(aq) + OH-(aq) + H+(aq) + Cl-(aq)à H2O(l) + Na+(aq) + Cl-(aq)           ∆H3 Please write an equation that will demonstrate the relationship among ∆H1,  ∆H2, and ∆H3 based on Hess's Law.
a mixture of 0.2 mol of NO, 0.1 mol of H2 and 0.2 mol of H2O...
a mixture of 0.2 mol of NO, 0.1 mol of H2 and 0.2 mol of H2O is placed in 2.0 L at 300 K. At equal [NO] = 0.062. Calculate K
X H0 H1 x1 0.2 0.1 x2 0.3 0.4 x3 0.3 0.1 x4 0.2 0.4 What...
X H0 H1 x1 0.2 0.1 x2 0.3 0.4 x3 0.3 0.1 x4 0.2 0.4 What is the likelihood ratio test of H0 versus HA at level α = .2? What is the test at level α = .5? Please show work or formulas on how to solve for values.
Given the heights of 7 engineering students, H1, H2, H3, H4, H5, H6, H7. Create a...
Given the heights of 7 engineering students, H1, H2, H3, H4, H5, H6, H7. Create a pseudocode and flowchart to find the mean, median, mode, min, max, variance and standard deviation.
Consider the following hypothesis test. H0:  = 20 H1:  ≠ 20 The sample size...
Consider the following hypothesis test. H0:  = 20 H1:  ≠ 20 The sample size is 200 and the standard deviation of the population is 10. Use a  = 0.05. What is the probability of making the Type II error if the real value of the population is: a. μ = 18.0 b. μ = 22.5 c. μ = 21.0
Given the following Hypothesis:   Ho: µ = 23 H1: µ ≠ 23 If: * a sample...
Given the following Hypothesis:   Ho: µ = 23 H1: µ ≠ 23 If: * a sample of n=40, mean=21 and σ =5 are given. * Using significance level =0.05 After calculation, will the test Reject Ho or Fail to Reject Ho  and why?
4) Given the following hypothesis: Ho: = 480 H1: = 480 A random sample of 14...
4) Given the following hypothesis: Ho: = 480 H1: = 480 A random sample of 14 observations is selected from a normal population. The sample mean was 488 and the sample standard deviation 8. Using the 0.10 significance level     a) State the decision rule. (Negative amount should be indicated by a minus sign. Round your answer to 3 decimal places)     Reject HO when the test statistic is ____ the interval (__ , ___)     b) Compute the value of the test...
Given the following hypothesis: H0: μ = 100 H1: μ ≠ 100 A random sample of...
Given the following hypothesis: H0: μ = 100 H1: μ ≠ 100 A random sample of six resulted in the following values: 118 ,120 ,107 ,115 ,115 ,107 Using the 0.02 significance level, can we conclude that the mean is different from 100? a. What is the decision rule? (Negative answer should be indicated by a minus sign. Round the final answers to 3 decimal places.) Reject H0: μ = 100 and accept H1: μ ≠ 100 when the test...
Consider the following hypothesis test: Ho: μ ≤ 51 H1:   μ > 51       A sample...
Consider the following hypothesis test: Ho: μ ≤ 51 H1:   μ > 51       A sample of 60 is used and the population standard deviation is 8. Use α=0.05. Z critical = _______________ Sample mean = 53.5, z calc = ______________. Do you reject Ho? Sample mean = 51.8, z calc = ______________. Do you reject Ho? The Pvalue for c is:_________________
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT