Augment the fitted values of each model
In this exercise you will prepare your four best and worst fitting models for further exploration by augmenting your model data with augment()
.
Diese Übung ist Teil des Kurses
Machine Learning in the Tidyverse
Anleitung zur Übung
- Build the
best_augmented
data frame by building augmented data frames and simplifying them withunnest()
using thebest_fit
data frame. - Build the
worst_augmented
data frame by building augmented data frames and simplifying them withunnest()
using theworst_fit
data frame.
Interaktive Übung
Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.
best_augmented <- best_fit %>%
# Build the augmented data frame for each country model
mutate(augmented = ___) %>%
# Expand the augmented data frames
___
worst_augmented <- worst_fit %>%
# Build the augmented data frame for each country model
mutate(augmented = ___) %>%
# Expand the augmented data frames
___