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

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.
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...
Consider the casual CT systems with transfer functions: H1(s)= (s+1)/(s+2)(s^2+s+16) H2(s)= s/(s+10)(s+1) H3(s)= 1/(s-1)(s+1) H4(s)= s/(s+1)(s^2+s+16)...
Consider the casual CT systems with transfer functions: H1(s)= (s+1)/(s+2)(s^2+s+16) H2(s)= s/(s+10)(s+1) H3(s)= 1/(s-1)(s+1) H4(s)= s/(s+1)(s^2+s+16) 1) Write magnitude and phase expression for their Bode Plots and Sketch their asymptotes. Verify Using Matlab. 2) Compute their steady-state response to cos(5t) u(t) + 3u(t) + cos(10t) e^-t u(t). ***Please show slope computations and conversions for the graphs. This is where I am unable to move forward.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT