开始使用免费开始使用

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.

本练习是课程的一部分

HR Analytics: Predicting Employee Churn in R

查看课程

练习说明

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

交互式实操练习

通过完成这段示例代码来试试这个练习。

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

# Print summary 
___
编辑并运行代码