Memuat
Memuat
Identify employees at risk of leaving and the factors that drive it.
1 views
This project predicts which employees of a fictional company are at risk of leaving using Random Forest and Cross Validation. Weight by Information Gain ranks the driving factors, and the decision threshold is lowered so that more at-risk employees are caught.

Read CSV loads data_karyawan.csv (3,000 employees, 12 attributes). id_karyawan becomes the id and keluar the binominal label (yes/no).
Remap Binominals makes "ya" (left the company) the positive class so precision and recall measure how well at-risk employees are found.
Multiply sends the data down two paths: attribute weighting and cross validation.
Weight by Information Gain scores how strongly each attribute separates leavers from stayers. Weights to Data and Write CSV save the weight list.
Cross Validation with 10 folds (stratified). The Training part holds Random Forest with 100 trees, gain ratio criterion and maximal depth 10.
Because leavers are a minority, a 0.5 threshold makes nearly everyone predicted to stay. Create Threshold (0.3) and Apply Threshold flag an employee as at risk when the probability of leaving is at least 30%.
Performance (Binominal Classification) computes accuracy, precision, recall, F-measure, kappa and AUC. Results and per-employee predictions are saved with Write CSV.
Sort predictions by confidence(ya) from highest. The top of the list are the employees to be approached first by managers and HR.
data_karyawan.csv
3,000 rows · 14 columns
3,000 fictional employees: department, job level, tenure, salary, last raise, overtime, satisfaction, work-life balance, manager relationship, commute distance, training, time since promotion, and whether they left.
Ready-to-run RapidMiner process (.rmp); CSV dataset with data dictionary; Practice guide and exercises (PDF/MD); Step-by-step video tutorial.
Not necessarily. The project is rated "advanced", and every step of the process is explained so you can follow how the data becomes a result.
Yes. Swap the dataset in the first step and adjust the attribute roles; the rest of the process stays the same. If you would like us to adapt it for you, message us on WhatsApp.
The project costs US$31. Use the "Buy via WhatsApp" button on this page; the project files are delivered after payment is confirmed.
Found a problem or have a suggestion for this project? Tell us on WhatsApp
Back to RapidMiner portfolio