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 A through Z.
The following table shows the posterior probabilities obtained by applying the models to the test set: (Only the posterior probabilities for the positive class are shown):
Assume that we are mostly interested in detecting instances from the positive class.
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.
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.