เริ่มต้นใช้งานเริ่มต้นใช้งานได้ฟรี

Training a finalized workflow

Congratulations on successfully tuning your decision tree model and finalizing your workflow! Your final_loans_wkfl object can now be used for model training and prediction on new data sources.

In this last exercise, you will train your finalized workflow on the entire loans_training dataset and evaluate its performance on the loans_test data.

The final_loans_wkfl and loans_split objects have been loaded into your session.

แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร

Modeling with tidymodels in R

ดูคอร์ส

แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำ

ลองทำแบบฝึกหัดนี้โดยเติมโค้ดตัวอย่างนี้ให้สมบูรณ์

# Train finalized decision tree workflow
loans_final_fit <- ___ %>% 
  ___(split = ___)
แก้ไขและรันโค้ด