12.3 Decisions, Decisions…
data(ames, package = "modeldata")
<- ames %>% mutate(Sale_Price = log10(Sale_Price))
ames
set.seed(63)
<- initial_split(ames, prop = 0.80, strata = Central_Air)
ames_split <- training(ames_split)
ames_train <- testing(ames_split)
ames_test
set.seed(63)
<- vfold_cv(ames_train, repeats = 10) rs