Precision and Recall Explained: A Worked Example and How to Choose the Right Threshold
What precision and recall measure, a worked example you can check by hand, why accuracy misleads on imbalanced data, F1, and a five-step way to choose a threshold.

