शुरू करेंमुफ़्त में शुरू करें

Measuring performance with cross validation

Cross validation is a method that uses training data to provide multiple estimates of model performance. When trying different model types on your data, it is important to study their performance profile to help decide which model type performs consistently well.

In this exercise, you will perform cross validation with your decision tree model workflow to explore its performance.

The training data, loans_training, and your workflow object, loans_dt_wkfl, have been loaded into your session.

यह अभ्यास पाठ्यक्रम का हिस्सा है

Modeling with tidymodels in R

पाठ्यक्रम देखें

इंटरैक्टिव व्यावहारिक अभ्यास

इस अभ्यास को इस नमूना कोड को पूरा करके आज़माएँ।

# Create cross validation folds
set.seed(290)
loans_folds <- ___(___, v = ___,
                   strata = ___)

loans_folds
कोड संपादित करें और चलाएँ