Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 Logistic-Regression models (M1
and M2) for a binary classification problem. The attributes in the test set you have chosen are
represented by X. Table 1 shows the output (P(+|M1) and P(+|M2)) of the models, which represent
the posterior probabilities for the positive class. As this is a binary classification problem, P()=
1 P(+) and P(| X)=1 P(+| X).
Instance True Class P (+| X, M1) P (+| X, M2)
1+0.780.61
2+0.620.08
3-0.440.62
4-0.550.39
5+0.610.48
6+0.470.09
7-0.070.38
8-0.140.09
9+0.480.06
10-0.320.01
Table 1: Output of two models
(2) Plot the ROC for both M1 and M2, 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

How Do I Use A Database Research Tools You Can Use

Authors: Laura La Bella

1st Edition

1622753763, 978-1622753765

More Books

Students also viewed these Databases questions

Question

How would you approach this unit?

Answered: 1 week ago

Question

how does a jargon make communication more efficient

Answered: 1 week ago