Resampling Methods

initial_split() initial_time_split() training() testing()

Simple Training/Test Set Splitting

bootstraps()

Bootstrap Sampling

vfold_cv()

V-Fold Cross-Validation

loo_cv()

Leave-One-Out Cross-Validation

mc_cv()

Monte Carlo Cross-Validation

group_vfold_cv()

Group V-Fold Cross-Validation

rolling_origin()

Rolling Origin Forecast Resampling

nested_cv()

Nested or Double Resampling

apparent()

Sampling for the Apparent Error Rate

Utilities

as.data.frame(<rsplit>) analysis() assessment()

Convert an rsplit object to a data frame

tidy(<rsplit>) tidy(<rset>) tidy(<vfold_cv>) tidy(<nested_cv>)

Tidy Resampling Object

make_strata()

Create or Modify Stratification Variables

complement()

Determine the Assessment Samples

populate()

Add Assessment Indicies

form_pred()

Extract Predictor Names from Formula or Terms

Data

attrition

Job Attrition

drinks

Sample Time Series Data

two_class_dat

Two Class Data