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

Tidyverse ile Machine Learning

kursunun bir parçasıdır
Kursu Görüntüle

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ı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

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