Question: In this problem, your task is to evaluate the performance of two Logistic - Regression models ( M 1 and M 2 ) for a
In this problem, your task is to evaluate the performance of two LogisticRegression models M
and M for a binary classification problem. The attributes in the test set you have chosen are
represented by X Table shows the output PM and PM of the models, which represent
the posterior probabilities for the positive class. As this is a binary classification problem, P
P and P X P X
Instance True Class P X M P X M
Table : Output of two models
For the two models M and M suppose you choose the decision threshold to be tau In
other words, any test instances whose output of the model is greater than tau will be classified as a
positive example. Write down the confusion matrix and calculate the precision, recall and accuracy
of the two models respectively.
Plot the ROC for both M and M and calculate their AUC. Which model performs better
based on the AUC value? Hint: In this scenario, the ROC is a step line.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
