Lecture 4: Cross-validation