diff --git a/08-feature-engineering.Rmd b/08-feature-engineering.Rmd index ccabd463..8ec403e7 100644 --- a/08-feature-engineering.Rmd +++ b/08-feature-engineering.Rmd @@ -560,6 +560,8 @@ ames_split <- initial_split(ames, prop = 0.80, strata = Sale_Price) ames_train <- training(ames_split) ames_test <- testing(ames_split) +lm_model <- linear_reg() %>% set_engine("lm") + ames_rec <- recipe(Sale_Price ~ Neighborhood + Gr_Liv_Area + Year_Built + Bldg_Type + Latitude + Longitude, data = ames_train) %>%