Data Science

profilethart2009
    1. Figure 7-1 on page 192 in the textbook demonstrates why accuracy calculation on an unbalanced population is misleading. Both model A and model B achieves 80% accuracy on the balanced population, but changes to 64% and 96% accuracy respectively on the true unbalanced population. If the population is more skewed with 5% positive and 95% negative, what are the accuracies for each model? Use the same 1000 customers to show your calculation and discuss the results.
    2. Confusion matrix of model A and model B are listed below for the true unbalanced population, extracted from Figure 7-1. Calculate the expected profit for both model A and model B using the following cost-benefit matrix. Discuss the results.
 pn
Y99-1
N00

Cost-benefit matrix for the targeted marketing example

 

 pn
Y100360
N0540

Confusion matrix of A

 pn
Y600
N40900

Confusion matrix of B

  • 9 years ago
  • 10
Answer(1)

Purchase the answer to view it

blurred-text
NOT RATED
  • attachment
    figure_7_1.docx