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

Finalizing a workflow

To incorporate hyperparameter tuning into your modeling process, an optimal hyperparameter combination must be selected based on the average value of a performance metric. Then you will be able to finalize your tuning workflow and fit your final model.

In this exercise, you will explore the best performing models from your hyperparameter tuning and finalize your tuning workflow object.

The dt_tuning and loans_tune_wkfl objects from your previous session have been loaded into your environment.

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

Modeling with tidymodels in R

ดูคอร์ส

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

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

# Display 5 best performing models
dt_tuning %>% 
  ___(metric = ___, n = ___)
แก้ไขและรันโค้ด