loo_cv: Leave-One-Out Cross-Validation

Description Usage Arguments Value Examples

Description

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.

Usage

1

Arguments

data

A data frame.

...

Not currently used.

Value

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.

Examples

1

topepo/rsample documentation built on May 4, 2019, 4:25 p.m.