MulaiMulai sekarang secara gratis

Understanding the model predictions

In this exercise, you will predict and visualize the probability of turnover for all the cases in training and test datasets.

The model (final_log), and train_set and test_set datasets are available in your workspace.

Latihan ini adalah bagian dari kursus

HR Analytics: Predicting Employee Churn in R

Lihat Kursus

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Make predictions for training dataset
prediction_train <- ___(final_log, newdata = train_set, 
                            type = "response")

# Look at the prediction range
___
Edit dan Jalankan Kode