# Answer the following questions 3. (a) Consider the contingency table below and compute the ACCURACY rate... Answer the following questions 3. (a) Consider the contingency table below and compute the ACCURACY rate and ERROR rate for model M1. MODEL M1 PREDICTED CLASS Class-Yes Class No ACTUAL Class Yes 10 70 CLASS Class No 10 10 (b) Consider the contingency table below and compute the ACCURACY rate and ERROR rate for model M2 MODEL M2 PREDICTED CLASS Class Yes Class-No ACTUAL Class-Yes 70 CLASS Class No 10 20 (c) Given the following cost matrix, compute the cost of the above classification model Cost Matrix PREDICTED CLASS ACTUAL Cai Yes No CLASS -1 100 + 1 0

3).

a) From the given model M1,we have

Total = n = (70+10+10+10) = 100, True negative (TN) = 70 , True positive (TP) = 10 , False negative (FN) = 10 , False positive (FP) = 10

So, Accuracy = (TP+TN)/n = (10+70)/100 = 0.8,

Error Rate = (FP+FN)/n = (10+10)/100 = 0.2

b) From the given model M2, we have

Total = n = 70+0+20+10 = 100 , TN = 70 ,TP = 10, FN = 20 , FP = 0. So,

Accuracy = (TP + TN)/n = (10+70)/100 = 0.8,

Error Rate = (FP + FN)/n = (0+20)/100 = 0.2.

c) Cost for model M1 = 70(-1) + 10(100) + 10(1) +10(0)

= ( -70+1000+10+0) = 940

Cost for model M2 = 70(-1) + 0(100) + 20(1) + 10(0)

= (-70+0+20+0) = (-50).

##### Add Answer of: Answer the following questions 3. (a) Consider the contingency table below and compute the ACCURACY rate...
Similar Homework Help Questions
• ### Evaluating Predictive Performance ( Business Analytics) Confusion Matrix !!! A publisher plans to boost the sales...

Evaluating Predictive Performance ( Business Analytics) Confusion Matrix !!! A publisher plans to boost the sales of its most popular magazine by sending out promotional mails. We refer to a customer as a responder if he/she subscribes to the magazine for the next year after receiving a promotional mail. Otherwise the customer is referred to as a non-responder. Denote responder by C1 and non-responder by C2. The publisher has built a model to classify each customer as either a responder...

• ### ) Use the table below to answer the following questions. Table 2 Table 2 gives the... ) Use the table below to answer the following questions. Table 2 Table 2 gives the payoff matrix in terms of economic profit for firms A and B when there are two strategies facing each firm: (1) charge a low price, or (2) charge a high price. a) why the equilibrium in this game (played once) is a dominant strategy equilibrium ? b) In Nash equilibrium, what the economic profit firm A makes ? c) If both firms could successfully...

• ### C) Estimate the linear model for a state's unemployment rate shown below (i.e. estimate Bo and β1... Only question 6 please, this is the model referred to in Question 6 from 5.c c) Estimate the linear model for a state's unemployment rate shown below (i.e. estimate Bo and β1) using OLS. Write the resulting regression equation. unemployment rate-β0 + β|minimum wage + ε 6. The following questions ask you to use the regression model you estimated to predict unemployment rates (ie, the model in 5.c). Use the unemployment and minimum wage data from the table above to...

• ### Assume 6-month zero rate is 4.045%. Also use the following table to answer the questions below....

Assume 6-month zero rate is 4.045%. Also use the following table to answer the questions below. The following table gives the prices of bonds: Face Value Time To Maturity Coupon / Year Bond Price 100 1 Year 0 97 100 1.5 Year 15 98.5 *Half of the stated coupon is paid every six months ** all rates are continuously compounded What is the zero rate for 1 year? 1) 3.046% 1) 4.545% 1) 3.455% 1) 5.206% 2. What is the...

• ### The following contingency table illustrates how a survey of public employees responded to questions regarding income... The following contingency table illustrates how a survey of public employees responded to questions regarding income and job satisfaction. Determine the probability of the following events and explain its meaning. (3 pts each) Table 14.14 Relationship between Income and job Satisfaction Iacome Job Satisfaction Low 100 60 40 Medium 30 80 40 10 Medium Hi 50 a. b. c. d. e. Medium job satisfaction At least medium income High job satisfaction or high income Lowjob satisfaction and medium income Low...

• ### 2. Consider the training examples shown in the table below for a binary classification problem. (40... 2. Consider the training examples shown in the table below for a binary classification problem. (40 points) Instance| a1 a2 аз | Target Class T T1.0 2 T T 6.0 3 T F 5.0 4 F F 4.0 5 F T 7.0 6 F T 3.0 7 F F 8.0 IT F 7.0 F T 5.0 9 (1) What is the entropy of this collection of training examples with respect to the class attribute? (2) What are the information gains...

• ### Consider the SN2 reaction shown below and answer the following questions. Consider the SN1 reaction shown... Consider the SN2 reaction shown below and answer the following questions. Consider the SN1 reaction shown below and answer the following questions. 1. Consider the SN2 reaction shown below and answer the following questions. acetone Br NaSCH3 SCH3 NaBr + A. Write the rate law for the reaction B. Identify the nucleophile and the electrophile in the reaction C. State how each of the following factors would affect the rate of the reaction a. Increasing the concentration of 1-bromopropane. b....

• ### thematical operations For the following questions, consider the data matrix below. Let i- the number of... thematical operations For the following questions, consider the data matrix below. Let i- the number of rows and / - the number of columns. (So, for example, yi -2, and yias 4.) For partial credit, show your w attached sheet) 10 12 10 5 19 141005 23 14 12 1000 1410 12 2-5 14 31 20 16 10 12 10 44 373 -2 10 10 14 100 10 10 , where n- sample size (i.e, number of observations) I Bonus:...

• ### Given the following data, answer the questions below the table: ------------------------------------------------------------------------------------------------------------------------ Data Allocation base Machine-hours Estimated...

Given the following data, answer the questions below the table: ------------------------------------------------------------------------------------------------------------------------ Data Allocation base Machine-hours Estimated manufacturing overhead cost \$220,800 Estimated total amount of the allocation base 46,000 machine-hours Actual manufacturing overhead cost \$240,100 Actual total amount of the allocation base 42,000 machine-hours ------------------------------------------------------------------------------------------------------------------------ a) What is the pre-determined overhead rate? b) By how much is the manufacturing overhead underapplied or overapplied? c) Change the estimated total amount of allocation base to 48,000 machine hours, now by how much is...

• ### The following information applies to the questions displayed below Amanufactured product has the following information for... The following information applies to the questions displayed below Amanufactured product has the following information for June 159 Standard por ) \$15 perhe 511 perc) Det mat Dodbor Overhead Units manufactured Actu 59.10 por 515 50 per 40.900 lbs 23.900 5274.000 Award 4.00 points Compute the direct materials price variance and the direct materials quantity variance Indicate whether each variance is favorable or unfavorable AO SO AP SP Actual Quantity Standard Quantity Actual Price Standard Price Actual Cost Standard Cost...

Need Online Homework Help?