1. 학습
  2. /
  3. 프로젝트
  4. /
  5. HR Analytics: Predicting Employee Churn in R

Connected

연습 문제

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.

지침 1/2

undefined XP
    1
    2
  • Calculate the probability of turnover for all cases in train_set using final_log model.
  • Use the hist() function to plot the range of these probabilities.