How it works
Choose an appropriate split, establish a baseline, and measure errors with metrics tied to the problem. For a binary classifier, precision and recall provide complementary views.
A concrete example
A fraud model can achieve high accuracy by predicting the majority class. Recall, precision, and the cost of investigation expose a more useful picture.
Watch for this
Tuning repeatedly on the test set leaks information into model selection. Keep a held-out test set for the final evaluation.
Try it yourself
Use the sliders to compare the consequences of more false alarms versus more missed positives.