Advanced Statistical Tests
Input your model's prediction scores and true labels below to generate an ROC curve and calculate the Area Under the Curve (AUC).
Click on an example to load its data into the calculator.
Evaluating a model that predicts the probability of a tumor being malignant (1) or benign (0).
Positive Label: 1
Negative Label: 0
0.95,1 0.85,1 0.80,0 0.70,1 0.55,1 0.45,0 0.40,1 0.30,0 0.25,0 0.10,0
Assessing a model that calculates the likelihood of a customer defaulting on a loan ('default') vs. not defaulting ('paid').
Positive Label: default
Negative Label: paid
0.88,default 0.76,paid 0.71,default 0.65,paid 0.61,paid 0.52,default 0.41,paid 0.39,default 0.22,paid 0.15,paid
Testing a filter that scores emails on their probability of being spam ('spam') vs. not spam ('ham').
Positive Label: spam
Negative Label: ham
0.99,spam 0.91,spam 0.82,ham 0.75,spam 0.63,ham 0.51,spam 0.49,ham 0.33,ham 0.21,spam 0.11,ham
An example of a perfect classifier where all positive samples have higher scores than all negative samples.
Positive Label: 1
Negative Label: 0
0.9,1 0.8,1 0.7,1 0.6,1 0.5,1 0.4,0 0.3,0 0.2,0 0.1,0 0.05,0
0.85,1
).