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

Ordering of step_*() functions

The step_*() functions within a recipe are carried out in sequential order. It's important to keep this in mind so that you avoid unexpected results in your feature engineering pipeline!

In this exercise, you will combine different step_*() functions into a single recipe and see what effect the ordering of step_*() functions has on the final result.

The telecom_training and telecom_test datasets have been loaded into this session.

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

Modeling with tidymodels in R

Kursa Göz Atın

Uygulamalı etkileşimli egzersiz

Bu egzersizi bu örnek kodu tamamlayarak deneyin.

telecom_recipe_1 <- 
  recipe(canceled_service ~ avg_data_gb + contract, data = ___)  %>% 
  # Normalize numeric predictors
  ___(___)  %>% 
  # Create dummy variables for nominal predictors
  ___(___, ___)
Kodu Düzenle ve Çalıştır