BaşlayınÜcretsiz başlayın

Her modelin uyumlaştırılmış değerlerini augment et

Bu egzersizde, model verini augment() ile zenginleştirerek en iyi ve en kötü uyum sağlayan dört modelini daha fazla keşif için hazırlayacaksın.

Bu egzersiz, kursun bir parçasıdır

Tidyverse ile Machine Learning

Kursa Göz Atın

Egzersiz talimatları

  • best_fit veri çerçevesini kullanarak augment edilmiş veri çerçeveleri oluştur ve bunları unnest() ile sadeleştirerek best_augmented veri çerçevesini oluştur.
  • worst_fit veri çerçevesini kullanarak augment edilmiş veri çerçeveleri oluştur ve bunları unnest() ile sadeleştirerek worst_augmented veri çerçevesini oluştur.

Uygulamalı etkileşimli egzersiz

Bu egzersizi bu örnek kodu tamamlayarak deneyin.

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
  ___
Kodu Düzenle ve Çalıştır