Learn R Programming

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

rsample (version 0.0.8)

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.8

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Max Kuhn

Last Published

September 23rd, 2020

Functions in rsample (0.0.8)

attrition

Job Attrition
group_vfold_cv

Group V-Fold Cross-Validation
form_pred

Extract Predictor Names from Formula or Terms
add_resample_id

Augment a data set with resampling identifiers
bootstraps

Bootstrap Sampling
drinks

Sample Time Series Data
gather.rset

Gather an rset Object
as.data.frame.rsplit

Convert an rsplit object to a data frame
apparent

Sampling for the Apparent Error Rate
complement

Determine the Assessment Samples
loo_cv

Leave-One-Out Cross-Validation
mc_cv

Monte Carlo Cross-Validation
nested_cv

Nested or Double Resampling
int_pctl

Bootstrap confidence intervals
initial_split

Simple Training/Test Set Splitting
rsample-dplyr

Compatibility with dplyr
rolling_origin

Rolling Origin Forecast Resampling
new_rset

Constructor for new rset objects
populate

Add Assessment Indices
manual_rset

Manual resampling
make_strata

Create or Modify Stratification Variables
two_class_dat

Two Class Data
pretty.vfold_cv

Short Descriptions of rsets
labels.rset

Find Labels from rset Object
labels.rsplit

Find Labels from rsplit Object
make_splits

Constructor for split objects
reexports

Objects exported from other packages
slide-resampling

Time-based Resampling
rsample

rsample: General Resampling Infrastructure for R
rsample2caret

Convert Resampling Objects to Other Formats
vfold_cv

V-Fold Cross-Validation
tidy.rsplit

Tidy Resampling Object
validation_split

Create a Validation Set