探索教育領域
attrition 資料集有一個名為 Education field 的特徵。你想把它用作預測離職的自變數。先從查看其因子值開始。資料集已經載入。
本練習屬於課程
R 的特徵工程
練習說明
- 從
attrition資料集中選取EducationField。 - 列印
EducationField因子值的次數分配表。
動手互動練習
試著完成這個範例程式碼,體驗一下這個練習。
attrition %>%
# Select education field
___(___) %>%
# Print a frequency table of factor values
___