Description Usage Arguments Value
View source: R/cross_validate.R
Perform cross-validation on a nested_cv rsample object
1 2 3 | cross_validate(resamples, object, recipe = NULL, scoring,
keep_preds = TRUE, keep_models = FALSE,
.options = future_options())
|
resamples |
nested_cv object |
object |
parsnip model specification, or a pipeline object |
recipe |
recipe, optional if using pipeline object |
scoring |
yardstick scoring function |
keep_preds |
logical, store predictions per fold in a 'predictions' column, default is TRUE |
keep_models |
logical, store fitted models per fold in a 'models' column, default is FALSE |
.options |
future_options to pass additional packages required by tuning and fitting functions |
tibble
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.