Suppose you are given the following set of data with three Boolean input variables a, b,...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Suppose you are given the following set of data with three Boolean input variables a, b, and c, and a single Boolean output variable K. a bc K 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 01 For parts (a) and (b), assume we are using a naive Bayes classifier to predict the value of K from the values of the other variables. (a) [1.5 pts] According to the naive Bayes classifier, what is P(K = 1|a = 1Ab=1Ac= 0)? (b) [1.5 pts] According to the naive Bayes classifier, what is P(K = 0|a = 1 Ab= 1)? (c) [1.5 pts] According to the joint Bayes classifier, what is P(K = 1|a = 1 Ab = 1Ac= 0)? (d) [1.5 pts] According to the joint Bayes classifier, what is P(K = 0|a = 1Ab = 1)? %3D (e) [2 pts] Imagine I tell you the following: P(Z|X) = 0.7 P(Z|Y) = 0.4 Do you have enough information to compute P(Z|X AY)? If not, write "not enough info". If so, compute the value of P(Z|X AY) from the above information. (f) [2 pts] Instead, imagine I tell you the following: P(Z|X) = 0.7 P(Z]Y) = 0.4 P(X) = 0.3 P(Y) = 0.5 Do you now have enough information to compute P(Z|X AY)? If not, write "not enough info". If so, compute the value of P(Z|X AY) from the above information. (g) [2 pts] Instead, imagine I tell you the following (falsifying my earlier statements): P(Z A X) = 0.2 P(X) = 0.3 P(Y) = 1 Do you now have enough information to compute P(Z|X AY)? If not, write "not enough info". If so, compute the value of P(Z|X AY) from the above information. Suppose you are given the following set of data with three Boolean input variables a, b, and c, and a single Boolean output variable K. a bc K 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 01 For parts (a) and (b), assume we are using a naive Bayes classifier to predict the value of K from the values of the other variables. (a) [1.5 pts] According to the naive Bayes classifier, what is P(K = 1|a = 1Ab=1Ac= 0)? (b) [1.5 pts] According to the naive Bayes classifier, what is P(K = 0|a = 1 Ab= 1)? (c) [1.5 pts] According to the joint Bayes classifier, what is P(K = 1|a = 1 Ab = 1Ac= 0)? (d) [1.5 pts] According to the joint Bayes classifier, what is P(K = 0|a = 1Ab = 1)? %3D (e) [2 pts] Imagine I tell you the following: P(Z|X) = 0.7 P(Z|Y) = 0.4 Do you have enough information to compute P(Z|X AY)? If not, write "not enough info". If so, compute the value of P(Z|X AY) from the above information. (f) [2 pts] Instead, imagine I tell you the following: P(Z|X) = 0.7 P(Z]Y) = 0.4 P(X) = 0.3 P(Y) = 0.5 Do you now have enough information to compute P(Z|X AY)? If not, write "not enough info". If so, compute the value of P(Z|X AY) from the above information. (g) [2 pts] Instead, imagine I tell you the following (falsifying my earlier statements): P(Z A X) = 0.2 P(X) = 0.3 P(Y) = 1 Do you now have enough information to compute P(Z|X AY)? If not, write "not enough info". If so, compute the value of P(Z|X AY) from the above information.
Expert Answer:
Answer rating: 100% (QA)
Part A According to the naive Bayes classifier what is PK 1a 1 b 1 c 0 Answer 12 Explanation PK 1a 1 ... View the full answer
Related Book For
An Introduction to the Mathematics of Financial Derivatives
ISBN: 978-0123846822
3rd edition
Authors: Ali Hirsa, Salih N. Neftci
Posted Date:
Students also viewed these databases questions
-
You are given the following set of data: Construct a scatter diagram showing the relationship between returns on Stock Y and the market. Use a spreadsheet or a calculator with a linear regression...
-
Suppose you are given the following data: ¢ Risk-free yearly interest rate is r = 6%. ¢ The stock price follows: St St1 = μSt + ÏStεt where the...
-
Suppose you are given the following data on wage rates and number of hours worked: a. Construct and label a set of axes and plot these six points. Label each point a, b, c, and so on. Which variable...
-
During 2018, Susan incurred and paid the following expenses for Beth (her daughter), Ed (her father), and herself: Surgery for...
-
Determine a corporation's taxable income if it has $450,000 of gross receipts, $145,000 cost of goods sold, $276,000 of deductible business expenses, $20,000 of gain on the sale of machinery, and...
-
Bay Area Scientific, Inc. manufactures electronic products, with two operating divisions, the Performance Materials and Communication Technologies divisions. Condensed divisional income statements,...
-
Verify that the Tweedie distribution is a member of the linear exponential family of distributions by checking equation (13.9). In particular, provide an expression for \(S(y, \phi)\) (note that...
-
The Volvo Group, headquartered in Gothenburg, Sweden, is one of the worlds leading manufacturers of trucks, buses, and construction equipment, in addition to autos. Volvos actual condensed balance...
-
Using the same Solver techniques, what would be the weight for WFC in the "optimal risky portfolio" on the efficient frontier consisting of WFC and MSFT? Write your answer as a percentage, with no...
-
Prepare a December 31 trial balance for Jindal Company using the following information and fill in the missing amount for Equipment (assume all data are correct). Cash Accounts payable Services...
-
The lower birthrate in China A. will help China to maintain its high rates of productivity growth, due to the transition from a centrally planned economy to a market economy so China's growth rate in...
-
Rewrite as sums or differences of logarithms. log b (xyz)
-
1. During a free kick (the ball is not moving previous to being struck) a soccer ball is kicked upward at a 40 degree angle (relative to the ground) with an initial velocity of 30 m/s. The players...
-
Suppose matrix B has dimensions 5 \ times 3 and the matrix product AB has dimensions 1 \ times 9 What are the dimensions of matrix A ?
-
demonstration of QuickSort on the [3,6,4,1,2,5,7,4] list. b) What happens when you're done? c) Describe an arrangement of the digits 1 to 8 that would make this algorithm very slow and explain why....
-
return is 17% ,beta is 1.7 risk free is 3% what is market risk premium. 2. dividend of 7.98 rate of return is 21% what is current stock price. 3. coupon rate is 10% maturity of 8 yrs current market...
-
If y = sin (u), u = v-, and v = ln (x), then the value of dy dz at e is 49 01 Oo 22
-
Using the information presented in Problem 13.4B, prepare a partial statement of cash flows for the current year, showing the computation of net cash flows from operating activities using the...
-
Let the arbitrage-free 3-month futures price for wheat be denoted by Ft. Suppose it costs c$ to store 1 ton of wheat for 12 months and s$ per year to insure the same quantity. The (simple) interest...
-
Show that as n: (a) (b) (c) 1(1-1)-(1)-1
-
Show that the price of a swap is the same as the price of a cap minus the price of a floor.
-
Due to the Covid recession of 2020, the U.S. government budget changed from smaller deficits to very large deficits. What impact would this have on the net exports and private sector balances, all...
-
Verify the likelihood in equation (16.5) for the two-part model. n2. (16.5) -(-)-(-2)/02 L = [] {(p;)" (1 p; )'-'} [[ ( i=1 ri=1
-
Two Population Poissons. We can express the two population problem in a regression context using one explanatory variable. Specifically, suppose that \(x_{i}\) only takes on the values of zero and...
Study smarter with the SolutionInn App