Augmentează valorile estimate ale fiecărui model
În acest exercițiu vei pregăti cele mai bune și cele mai slabe patru modele pentru explorare ulterioară, augmentând datele modelelor cu augment().
Acest exercițiu face parte din cursul
Machine Learning în Tidyverse
Instrucțiuni pentru exercițiu
- Construiește cadrul de date
best_augmentedprin crearea cadrelor de date augmentate și simplificarea lor cuunnest(), folosind cadrul de datebest_fit. - Construiește cadrul de date
worst_augmentedprin crearea cadrelor de date augmentate și simplificarea lor cuunnest(), folosind cadrul de dateworst_fit.
Exercițiu interactiv practic
Încearcă acest exercițiu completând acest cod de exemplu.
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
___