From the course: Applied AI for Human Resources
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Preprocessing attrition data - Python Tutorial
From the course: Applied AI for Human Resources
Preprocessing attrition data
- [Instructor] In this video, we will load up the attrition data and pre-process the data to get it ready for machine learning. The code for this chapter is available in the notebook, code_02_XX Predict Employee Attrition. Let's first make sure that all the packages required for this exercise is already installed. We can run the first cell to make sure they are installed, if not, it will install it. We first load the data using pandas into a data frame, then we review the data loaded, its structure and its contents. Let's run the code and review the results. We can see that the data has been loaded correctly. In classification, it's always a good idea to understand the relationship between the feature and the target variables, especially which feature variables have the most impact on the target variable. We do so using correlation analysis. Here, we do a correlation analysis on the target variable, attrition. Let's run…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.