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

Building final logistic regression model

We removed the highly collinear variables (level and compensation) to create train_set_final. It's time for you to build the final logistic regression model using this dataset. This model will be used to predict the probability of turnover of all the employees.

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

HR Analytics: Predicting Employee Churn in R

Kursa Göz Atın

Egzersiz talimatları

  • Build a logistic regression model using all the independent variables in train_set_final to predict turnover.
  • Print the summary of this model.

Uygulamalı etkileşimli egzersiz

Bu egzersizi bu örnek kodu tamamlayarak deneyin.

# Build the final logistic regression model
final_log <- ___(___, family = "binomial", 
                 ___)

# Print summary 
___
Kodu Düzenle ve Çalıştır