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

Fit and augment

Now is time to fit and augment our model. You are using all available variables and have some expectations on the results. Can this relatively larger model outperform simpler ones? Take a look at the lr_augment object to see how your model is performing.

Bu egzersiz

Feature Engineering in R

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

Egzersiz talimatları

  • Augment the fit object to assess the model.

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

lr_fit <- lr_workflow %>%
  fit(test)

# Augment the fit object to assess the model
lr_aug <- lr_fit %>%
  ___(test)

lr_aug %>% class_evaluate(truth = Attrition,
                          estimate = .pred_class,
                          .pred_No)
lr_aug
Kodu Düzenle ve Çalıştır