Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

See the following Figure and compute the true positive rate TPR/false positive r

ID: 3779928 • Letter: S

Question

See the following Figure and compute the true positive rate TPR/false positive rate .FPR/, Precision and Accuracy. There are two possible predicted classes: "yes" and "no". If we predict the presence of a disease, for example, "yes" would mean they have the disease, and "no" would mean they don't have the disease. The classifier made a total of 165 predictions (e.g., 165 patients were being tested for the presence of that disease). Out of those 165 cases, the classifier predicted "yes" 110 times, and "no" 55 times. In reality, 105 patients in the sample have the disease, and 60 patients do not.

Explanation / Answer

Please find the required solution:

Given Data:
-----------
TP=100
TN=10
FP=5
FN=50
Solutions:
----------
Accuracy= (TP + TN)/(TP + TN + FP + FN);
Accuracy= (100+10)/(100+10+5+50)
= 0.606
Precision = TP / TP + FP
= 100/(100+5)=0.952
True-Positive Rate = TP / (TP + FN) = 100/(100+50)=(100/150)=0.666
False-Positive Rate = FP / (FP + TN) = 5/(5+10)= 0.333