| Prediction | ||
| Actual | 1 | 0 |
| 1 | 220TP | 26FN |
| 0 | 29FP | 225TN |
Choosing the threshold and reading these curves is everyday work when evaluating a model. Try: lower the "quality" and watch the ROC hug the diagonal; lower the "balance" and see how accuracy lies but AP doesn't. Related: Hypothesis testing and Neural network.