Learn R Programming

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

rsample (version 0.0.9)

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

58,545

Version

0.0.9

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Julia Silge

Last Published

February 17th, 2021

Functions in rsample (0.0.9)

gather.rset

Gather an rset Object
.get_fingerprint

Obtain a identifier for the resamples
make_splits

Constructor for split objects
make_strata

Create or Modify Stratification Variables
as.data.frame.rsplit

Convert an rsplit object to a data frame
add_resample_id

Augment a data set with resampling identifiers
attrition

Job Attrition
complement

Determine the Assessment Samples
bootstraps

Bootstrap Sampling
pretty.vfold_cv

Short Descriptions of rsets
reexports

Objects exported from other packages
int_pctl

Bootstrap confidence intervals
labels.rset

Find Labels from rset Object
nested_cv

Nested or Double Resampling
apparent

Sampling for the Apparent Error Rate
loo_cv

Leave-One-Out Cross-Validation
labels.rsplit

Find Labels from rsplit Object
vfold_cv

V-Fold Cross-Validation
rsample-dplyr

Compatibility with dplyr
rsample

rsample: General Resampling Infrastructure for R
form_pred

Extract Predictor Names from Formula or Terms
drinks

Sample Time Series Data
manual_rset

Manual resampling
reg_intervals

A convenience function for confidence intervals with linear-ish parametric models
mc_cv

Monte Carlo Cross-Validation
group_vfold_cv

Group V-Fold Cross-Validation
rolling_origin

Rolling Origin Forecast Resampling
new_rset

Constructor for new rset objects
two_class_dat

Two Class Data
validation_split

Create a Validation Set
tidy.rsplit

Tidy Resampling Object
slide-resampling

Time-based Resampling
initial_split

Simple Training/Test Set Splitting
populate

Add Assessment Indices
permutations

Permutation sampling
rsample2caret

Convert Resampling Objects to Other Formats
rset_reconstruct

Extending rsample with new rset subclasses