A trained model is useful only if it performs well on data it has not seen. 2.1. Regression Metrics and 2.2. Classification Metrics show how to score a model, which depends on whether it predicts a number or a class. 2.3. Generalization shows on which data to score it, so that the score reflects performance in deployment.

Prerequisites

Contents

Read 2.3. Generalization first, since every metric means little unless it is computed on held-out data. Then read 2.1.1. Mean Squared Error and 2.2.1. Confusion Matrix, the most common starting points for each task. Finish with 2.3.1. Bias-Variance Decomposition and 2.3.2. Cross-Validation.