R语言——Kaggle十大经典案例—员工离职预测

项目背景:Our example concerns a big company that wants to understand why some of their best 
and most experienced employees are leaving prematurely. The company also wishes to 

 

predict which valuable employees will leave next.

 

案例说明:

本次案例需要的包包括:

library(plyr)              # Rmisc的关联包,若同时需要加载dplyr包,必须先加载plyr包
library(dplyr)            # filter()
library(ggplot2)        # ggplot()             
library(DT)                # datatable()        建立交互式数据表
library(caret)            # createDataPartition()       分层抽样函数
library(rpart)            # rpart()
library(e1071)          # naiveBayes()
library(pROC)          # roc()
library(Rmisc)          # multiplot()           分割绘图区域

数据分析基本步骤:

(1)业务理解;(2)明确业务需求(需求分析);(3)数据获取;(4)数据理


版权声明:本文为qq_20408903原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。