You're comparing a few candidate models for a supervised learning problem and want a reliable way to estimate how well they will generalize.
What is the purpose of cross-validation in model training?