View source: R/model-selection.R
| tl_compare_cv | R Documentation |
Compare models using cross-validation
tl_compare_cv(data, models, folds = 5, metrics = NULL, ...)
data |
A data frame containing the training data |
models |
A list of tidylearn model objects |
folds |
Number of cross-validation folds |
metrics |
Character vector of metrics to compute |
... |
Additional arguments |
A tibble with cross-validation results for all models
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.