Chapter 06 · overview · 1 min read
Evaluation
A model is only as good as the evidence for it. This section covers how to measure a classifier honestly, from the confusion matrix and its rare-class traps to the trade-off between precision and recall and the threshold-free view of the ROC curve, how to score numeric predictions, how to get a steadier estimate from small data with cross-validation, and how to choose settings without fooling yourself.
Topics in this section:
- Accuracy and the Confusion Matrix: four outcomes and the rare-class trap.
- Precision, Recall and F1: the threshold trade-off.
- ROC and AUC: ranking quality at every threshold.
- Regression Metrics: MAE, RMSE and R².
- Cross-Validation: rotating the validation fold.
- Hyperparameter Tuning: choosing settings within a budget.