Question: You are asked to evaluate the performance of two classification models, M1 and M2. The test set you have chosen contains 26 binary attributes, labeled
Table 5.5 shows the posterior probabilities obtained by applying the models to the test set. (Only the posterior probabilities for the positive class are shown).
As this is a two-class problem, P() = 1 P(+) and P(|A, . . . , Z) = 1 P(+|A, . . . , Z). Assume that we are mostly interested in detecting instances from the positive class.
.png)
(a) Plot the ROC curve for both M1 and M2. (You should plot them on the same graph.) Which model do you think is better? Explain your reasons.
(b) For model M1, suppose you choose the cutoff threshold to be t = 0.5.
In other words, any test instances whose posterior probability is greater than t will be classified as a positive example. Compute the precision, recall, and F-measure for the model at this threshold value.
(c) Repeat the analysis for part (c) using the same cutoff threshold on model M2. Compare the F-measure results for both models. Which model is better? Are the results consistent with what you expect from the ROC curve?
Table 5.5. Posterior probabilities for Exercise 17 stance rue 0.69 0.44 0.55 0.67 0.47 0.08 0.15 0.45 0.35 0.03 0.68 0.31 0.45 0.09 0.38 0.05 0.01 0.04 6 9 10
Step by Step Solution
3.59 Rating (170 Votes )
There are 3 Steps involved in it
a The ROC curve for M1 and M2 are shown in the Figure 55 M 1 is better since its area under the ROC ... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
908-M-S-D-A (8624).docx
120 KBs Word File
