(a) You wish to build a na¨ıve Bayes classifier regressing Booleans A, B and C onto the Boolean X. Someone has already counted the data for you to create frequency tables below:
____A=0 A=1 B=0 B=1 C=0 C=1
X=0 10 40 30 20 15 35
X=1 30 20 5 45 40 10
a) Construct probability tables as needed to specify the estimated na¨ıve Bayes classifier for the task. Then give the formula for the classifier and describe how it would be used.
(b) Consider the probabilities p(A=0|X =0) and p(B=0|X =1). Compute their standard errors, making any assumptions as needed? What can you say about the resulting estimates?
a) The Naive Bayes classifier formula is given by:
P(A|B) = P(A) * P(B|A)/P(B)
b) P(A=0|X=0) = P(B=0|X=1)
P(A=0|X=0) = P(A=0) * P(X=0|A)/P(X=0)
P(B=0|X=1) = P(B=0) * P(X=0|B)/P(X=1)
Standard deviation for the sample, sigma = 14.35
Standard error = sigma/sqrt(n) = 14.35/sqrt(7) = 14.35/2.64 = 5.4360
The resulting estimates are good.
(a) You wish to build a na¨ıve Bayes classifier regressing Booleans A, B and C onto...
6. Suppose that fish come in two classes, salmon (class 1) and sea bass (class 2). We take a picture of a fish and measure its length, x, and wish to make a decision on the identity of the fish based on the value of x. Determine the decision regions in x for the Bayes classifier corresponding to the two classes under the following conditions (a) We assume that the class conditional densities are Gaussian with the following means, variances...
You wish to use a lens to project the display of your phone onto a screen. Which arrangements of distances between the phone and the lens, and focal lengths of the lens could possibly work? A. phone is 10 cm from a lens with a focal length of -20 cm B. phone is 30 cm from a lens with a focal length of -20 cm C. phone is 30 cm from a lens with a focal length of 20 cm...
WRITE LEGIBLY OR TYPE THE ANSWERS WITH EXPLANATIONS
THANKS!!!
Question # B.2 In Fig.B.2 below, suppose C denotes cancerous state and the marginal (prior) probability of occurrence of C is: P(C) 0.01; and, C denotes the non-cancerous state Further, if the medical treatment is pursued, it is denoted by the state, T; and, when the medical treatment is not administered, it denotes the state. T In relevant medical diagnostic and treatment procedures, there are two possible errors that may occur...
Question # B.2 In Fig.B.2 below, suppose C denotes cancerous state and the marginal (prior) probability of occurrence of C is: P(C,-0.01; and, C denotes the non-cancerous state Further, if the medical treatment is pursued, it is denoted by the state, T; and, when the medical treatment is not administered, it denotes the state, T In relevant medical diagnostic and treatment procedures, there are two possible errors that may occur: Type I and Type II errors and their corresponding conditional...
DO NOT COPY ANSWER FROM SOMEWHERE ELSE OR YOU WILL GET A
THUMBS DOWN. ONLY ANSWER IF YOU KNOW THE ANSWER. Thank
you.
Stochastic models:
In Fig.B.2 below, suppose C denotes cancerous state and the marginal (prior) probability of occurrence of C is: P(C)-0.01; and, С denotes the non-cancerous state. Further, if the medical treatment is pursued, it is denoted by the state, T; and, when the medical treatment is not administered, it denotes the state, T In relevant medical...
31. Assume that we have two events, A and B. that are mutually exclusive. Assume further that we know P(A) 30 and P(B) a. What is P(A n B)? b. What is P(A I B)? c. 40. A student in statistics argues that the concepts of mutually exclusive events and inde- pendent events are really the same, and that if events are mutually exclusive they must be independent. Do you agree with this statement? Use the probability information in this...
You wish to invest in a portfolio of stocks A and B. The risk free rate is 4%. A B Expected return (%) 10 20 Volatility (%) 15 22 Correlation between returns 0.3 Complete the following table for each portfolio Which portfolio has the highest reward to risk (with risk measured as volatility)? Portfolio % in A Expected Return Standard Deviation of Return Sharpe Ratio 1 30% 2 40% 3 50%
Question III - Shortest Path [30 Points! You wish to take a flight from city A to city I. The following graph shows the different routes you could take. The vertices are the cities (airports), and the weight on the edges are the cost of travel in KD 35 50 65 95 65 80 65 20 20 a) Apply Dijkstra's algorithm to find the minimum cost to go from city A to all other cities in the graph. Show your...
1) Events A, B, C, and D are mutually exclusive and collectively exhaustive. If P(A or B) = .44. Circle all of the following that are possible? a) P(C or D) > .56 b) P(C and D) = .56 c) P(A and D) = 0 d) P(A) = .5 2) You have 10 members of a team. How many ways could you pick 3 captains (order does not matter)? a) 720 b) 30 c) 120 ...
Magnetic surveying is one technique used by archaeologists to determine anomalies arising from variations in magnetic susceptibility. Unusual changes in magnetic susceptibility might (or might not) indicate an important archaeological discovery. Let x be a random variable that represents a magnetic susceptibility (MS) reading for a randomly chosen site at an archaeological research location. A random sample of 120 sites gave the readings shown in the table below. Magnetic Susceptibility Readings, centimeter-gram-second ✕ 10−6 (cmg ✕ 10−6) Comment Magnetic Susceptibility...