Learn R Programming

⚠️There's a newer version (1.3.0) of this package.Take me there.

rsample (version 0.0.3)

General Resampling Infrastructure

Description

Classes and functions to create and summarize different types of resampling objects (e.g. bootstrap, cross-validation).

Copy Link

Version

Install

install.packages('rsample')

Monthly Downloads

71,082

Version

0.0.3

License

GPL-2

Maintainer

Max Kuhn

Last Published

November 20th, 2018

Functions in rsample (0.0.3)

as.data.frame.rsplit

Convert an rsplit object to a data frame
make_strata

Create or Modify Stratification Variables
mc_cv

Monte Carlo Cross-Validation
two_class_dat

Two Class Data
vfold_cv

V-Fold Cross-Validation
gather.rset

Gather an rset Object
complement

Determine the Assessment Samples
group_vfold_cv

Group V-Fold Cross-Validation
drinks

Sample Time Series Data
nested_cv

Nested or Double Resampling
populate

Add Assessment Indicies
rolling_origin

Rolling Origin Forecast Resampling
initial_split

Simple Training/Test Set Splitting
labels.rset

Find Labels from rset Object
rsample

rsample: General Resampling Infrastructure for R
fill

Add Assessment Indicies
attrition

Job Attrition
form_pred

Extract Predictor Names from Formula or Terms
pretty.vfold_cv

Short Decriptions of rsets
bootstraps

Bootstrap Sampling
labels.rsplit

Find Labels from rsplit Object
rsample2caret

Convert Resampling Objects to Other Formats
reexports

Objects exported from other packages
tidy.rsplit

Tidy Resampling Object
loo_cv

Leave-One-Out Cross-Validation
apparent

Sampling for the Apparent Error Rate