ÎncepețiÎncepe gratuit

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

Vezi cursul

Instrucțiuni pentru exercițiu

  • Construiește cadrul de date best_augmented prin crearea cadrelor de date augmentate și simplificarea lor cu unnest(), folosind cadrul de date best_fit.
  • Construiește cadrul de date worst_augmented prin crearea cadrelor de date augmentate și simplificarea lor cu unnest(), folosind cadrul de date worst_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
  ___
Editează și rulează codul