開始使用免費開始

了解模型預測

在這個練習中,你將為訓練集與測試集中的所有案例預測並視覺化離職機率。

模型(final_log)以及 train_settest_set 資料集已在你的工作區中可用。

本練習屬於課程

HR 分析:以 R 預測員工流失

檢視課程

動手互動練習

試著完成這個範例程式碼,體驗一下這個練習。

# Make predictions for training dataset
prediction_train <- ___(final_log, newdata = train_set, 
                            type = "response")

# Look at the prediction range
___
編輯並執行程式碼