loo_cv | R Documentation |
Leave-one-out (LOO) cross-validation uses one data point in the original set as the assessment data and all other data points as the analysis set. A LOO resampling set has as many resamples as rows in the original data set.
loo_cv(data, ...)
data |
A data frame. |
... |
These dots are for future extensions and must be empty. |
An tibble with classes loo_cv
, rset
, tbl_df
, tbl
, and
data.frame
. The results include a column for the data split objects and
one column called id
that has a character string with the resample
identifier.
loo_cv(mtcars)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.