Question

In: Statistics and Probability

Using the following values on some evaluation measures: # Instances = 1000 Accuracy = 70% Precision...

Using the following values on some evaluation measures:
# Instances = 1000
Accuracy = 70%
Precision = 62.5%
Recall = 71.43%

A) Reconstruct the corresponding confusion matrix.
B) Report the TPR value of that confusion matrix.
C) Report the FPR value of that confusion matrix.

Solutions

Expert Solution

We know that the total values are 1000.

Actual\Predicted True False
True a b
False c d

We know that:

i. accuracy is 70%

Thus,

(a+d) / (a+b+c+d) = 70/100

ii. precision is 62.5%

Thus,

a / (a+c) = 62.5/100

iii. Recall is 71.43%

Thus,

a / (a+b) = 71.43/100

We know that a+b+c+d is 1000.

Thus,

(a+d)= 700

Thus, (b+c)= 300

a / (a+c) = 62.5/100

Thus,

100a= 62.5a+62.5c

37.5a= 62.5c

Thus,

c= 37.5a/ 62.5

a / (a+b) = 71.43/100

Thus,

100a= 71.43a+71.43b

28.57a= 71.43b

b= 28.57a / 71.43

Thus,

(b+c)= 300

[ 28.57a / 71.43 ] + [ 37.5a/ 62.5 ] = 300

[(28.57*62.5)a + (37.5*71.43)a] / 71.43*62.5 = 300

1785.625a + 2678.625a = 4464.375*300

4464.25a =1339313

Thus,

a= 1339313/4464.25

= 300.0085 ~ 300

Thus,

300+d=700

d= 400

300/ (300+c)= 62.5/100

30000= 62.5c+18750

11250= 62.5c

Thus, c= 180

b+c=300

Thus, b= 120

Actual\Predicted True False
True 300 120
False 180 400

TPR= TP/ (TP+FN)

= 300/ (300+120)

= 0.7142857

FPR= FP/(FP+TN)

= 180/(180+400)

= 0.3103448


Related Solutions

Using the following values on some evaluation measures: # Instances = 1000 Accuracy = 70% Precision...
Using the following values on some evaluation measures: # Instances = 1000 Accuracy = 70% Precision = 62.5% Recall = 71.43% A) Reconstruct the corresponding confusion matrix. B) Report the TPR value of that confusion matrix. C) Report the FPR value of that confusion matrix.
What is the accuracy and precision of using a ball screw of 0.5 diameter in designing...
What is the accuracy and precision of using a ball screw of 0.5 diameter in designing a table of motion that is 48 inch in x and y direction?
What’s the accuracy and precision of using a ball screw of 13 mm diameter in designing...
What’s the accuracy and precision of using a ball screw of 13 mm diameter in designing a table of motion which is 48 inches in x and y direction?
Differentiate between the following pairs of words as used in study designs: a. Precision and Accuracy...
Differentiate between the following pairs of words as used in study designs: a. Precision and Accuracy b. Validity and Repeatability, using a maximum of 300 words
Using the naïve method (most recent value) as the forecast for the next week, compute the following measures of forecast accuracy:
Consider the following time series data. Week123456Value201315111714Using the naïve method (most recent value) as the forecast for the next week, compute the following measures of forecast accuracy: a. Mean absolute error (MAE) b. Mean squared error (MSE) c. Mean absolute percentage error (MAPE) Round your answers to two decimal places. MAE = MSE = MAPE = Using the average of all the historical data as a forecast for the next period, compute the same three values. Round your answers to two decimal places. MAE = MSE = MAPE = Which method appears to...
using the naïve method (most recent value) as the forecast for the next week, compute the following measures of forecast accuracy.
    Consider the following time series data:Week 1 2 3 4 5 6Value 18 13 16 11 17 14using the naïve method (most recent value) as the forecast for the next week, compute the following measures of forecast accuracy.a. mean absolute errorb.mean squared errorc. mean absolute percentage errord.What is the forecast for Week 7?2.    refer to the time series data in exercise 1. using the average of all the historical data as a forecast for the next period, compute the...
Using the naïve method (most recent value) as the forecast for the next week, compute the following measures of forecast accuracy:
Consider the following time series data. Week 1 2 3 4 5 6Value 19 12 16 10 17 15 Using the naïve method (most recent value) as the forecast for the next week, compute the following measures of forecast accuracy: Mean absolute error (MAE)Mean squared error (MSE)Mean absolute percentage error (MAPE) Round your answers to two decimal places. MAE = MSE = MAPE = Using the average of all the historical data as a forecast for the next period, compute...
Using the naïve method (most recent value) as the forecast for the next week, compute the following measures of forecast accuracy.
Consider the following time series data. Week 1 2 3 4 5 6 Value 19 13 15 10 17 13 Using the naïve method (most recent value) as the forecast for the next week, compute the following measures of forecast accuracy. (a) Mean absolute error If required, round your answer to one decimal place. (b) Mean squared error If required, round your answer to one decimal place. (c) Mean absolute percentage error If required, round your intermediate calculations and final...
Using the naive method (most recent value) as the forecast for the next week, compute the following measures of forecast accuracy.
Consider the following time series data. Week 1 2 3 4 5 6 Value 18 13 16 11 17 14 Using the naive method (most recent value) as the forecast for the next week, compute the following measures of forecast accuracy. a. Mean absolute error (to 1 decimal). b.Mean squared error (to 1 decimal). c. Mean absolute percentage error (to 2 decimals). d. What is the forecast for week 7 (to 2 decimals)?
Using the naive method (most recent value) as the forecast for the next week, compute the following measures of forecast accuracy.
Consider the following time series data. Week 1 2 3 4 5 6 Value 20 15 18 14 18 15 Using the naive method (most recent value) as the forecast for the next week, compute the following measures of forecast accuracy. a. Mean absolute error (to 1 decimal). _______ b.Mean squared error (to 1 decimal). _____ c. Mean absolute percentage error (to 2 decimals). _____% d. What is the forecast for week 7 (to 2 decimals)? ______
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT