Question: Why ROC curve for a random predictor was a straight line down the diagonal? Given a binary classifier that is completely random, and a data

Why ROC curve for a random predictor was a straight line down the diagonal? Given a binary classifier that is completely random, and a data set with 1/4 of the people have cancer disease, and 3/4 do not. Show that recall = False-positive rate for all possible test thresholds, and the diagonal line makes sense. What is the area under the curve for this useless predictor? Use Python if needed.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!