1. 学ぶ
  2. /
  3. プロジェクト
  4. /
  5. HR Analytics: Predicting Employee Churn in R

Connected

演習

Corroborate the splits

In the previous exercise, you split the dataset into train_set and test_set. It's important to make sure that the data you are training your model is representative of the test set. So let's make sure both train_set and test_set have the same proportion of active and inactive employees.

指示

100 XP

Calculate the proportion of Active and Inactive employees in train_set and test_set.