-
Notifications
You must be signed in to change notification settings - Fork 0
/
dict_feature_convert.txt
26 lines (26 loc) · 1.34 KB
/
dict_feature_convert.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
rename_dict = {
'MaritalStatus_0.0' : 'MaritalStatus_Single',
'MaritalStatus_1.0' : 'MaritalStatus_Married',
'MaritalStatus_2.0' : 'MaritalStatus_Divorced',
'JobRole_0.0' :'JobRole_Healthcare Representative',
'JobRole_1.0' : 'JobRole_Human Resources',
'JobRole_2.0' : 'JobRole_Laboratory Technician',
'JobRole_3.0' : 'JobRole_Manager',
'JobRole_4.0' : 'JobRole_Manufacturing Director',
'JobRole_5.0' : 'JobRole_Research Director',
'JobRole_6.0' : 'JobRole_Research Scientist',
'JobRole_7.0' : 'JobRole_Sales Executive',
'JobRole_8.0' : 'JobRole_Sales Representative',
'BusinessTravel_0.0' : 'BusinessTravel_Non-Travel',
'BusinessTravel_1.0' : 'BusinessTravel_Travel_Frequently',
'BusinessTravel_2.0' : 'BusinessTravel_Travel_Rarely',
'EducationField_0.0' : 'EducationField_Human Resources',
'EducationField_1.0' : 'EducationField_Life Sciences',
'EducationField_2.0' : 'EducationField_Marketing',
'EducationField_3.0' : 'EducationField_Medical',
'EducationField_4.0' : 'EducationField_Other',
'EducationField_5.0' : 'EducationField_Technical Degree',
'Department_0.0' : 'Department_Human Resources',
'Department_1.0' : 'Department_Research & Development',
'Department_2.0' : 'Department_Sales',
}