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.

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

as A through Z.

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.






The ROC curve for M1 and M2 are shown in the Figure 5.5.The ROC curve for M1 and M2 are shown in the Figure 5.5.



M1 is better, since its area under the ROC curve is larger than the area

under ROC curve for M2.

Computer Science & Information Technology

You might also like to view...

The _____ unit of the central processing unit (CPU) performs mathematical calculations and makes logical comparisons.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Find the error(s) in each of the following program segments, and explain how the error(s) can be corrected

a) ``` int g() { cout << "Inside function g" << endl; int h() { cout << "Inside function h" << endl; } } ``` b) ``` int sum( int x, int y ) { int result; result = x + y; } ``` c) ``` int sum( int n ) { if ( n == 0 ) return 0; else n + sum( n - 1 ); } ``` d) ``` void f( double a ); { float a; cout << a << endl; } ``` e) ``` void product() { int a; int b; int c; int result; cout << "Enter three integers: "; cin >> a >> b >> c; result = a * b * c; cout << "Result is " << result; return result; } ```

Computer Science & Information Technology

PhoneGap adds a line of code to the head of the page that must be included for the app to function correctly.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

The result of =ROUND(123.456,2) is ________

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology