Chapter 4 Validation set

The following content is adapted from the excellent book “Hands-on machine learning with scikit-learn, keras and tensorflow” from Géron (2019) and Alisson Hill’s excellent tidymodels workshop.

In this chapter, you learn how to build a validation set to evaluate two simple linear regression models with different predictors.