Investigating education field
Education field is a feature of the attrition dataset. You are interested in using it as a predictor for churning. Start by taking a look at the factor values. The dataset is already loaded.
แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร
Feature Engineering in R
คำแนะนำการฝึกหัด
- Select
EducationFieldfrom theattritiondataset. - Print a frequency table of the factor values in
EducationField.
แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำ
ลองทำแบบฝึกหัดนี้โดยเติมโค้ดตัวอย่างนี้ให้สมบูรณ์
attrition %>%
# Select education field
___(___) %>%
# Print a frequency table of factor values
___