Learn R Programming

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

rsample (version 1.1.0)

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

83,814

Version

1.1.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Julia Silge

Last Published

August 8th, 2022

Functions in rsample (1.1.0)

group_bootstraps

Group Bootstraps
bootstraps

Bootstrap Sampling
form_pred

Extract Predictor Names from Formula or Terms
apparent

Sampling for the Apparent Error Rate
initial_split

Simple Training/Test Set Splitting
int_pctl

Bootstrap confidence intervals
loo_cv

Leave-One-Out Cross-Validation
reexports

Objects exported from other packages
group_vfold_cv

Group V-Fold Cross-Validation
manual_rset

Manual resampling
make_groups

Make groupings for grouped rsplits
make_strata

Create or Modify Stratification Variables
make_splits

Constructors for split objects
permutations

Permutation sampling
nested_cv

Nested or Double Resampling
mc_cv

Monte Carlo Cross-Validation
rolling_origin

Rolling Origin Forecast Resampling
reshuffle_rset

"Reshuffle" an rset to re-generate a new rset with the same parameters
labels.rset

Find Labels from rset Object
populate

Add Assessment Indices
reverse_splits

Reverse the analysis and assessment sets
reg_intervals

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

Create a Validation Set
tidy.rsplit

Tidy Resampling Object
labels.rsplit

Find Labels from rsplit Object
vfold_cv

V-Fold Cross-Validation
new_rset

Constructor for new rset objects
rsample-dplyr

Compatibility with dplyr
slide-resampling

Time-based Resampling
rset_reconstruct

Extending rsample with new rset subclasses
rsample-package

rsample: General Resampling Infrastructure
rsample2caret

Convert Resampling Objects to Other Formats
.get_fingerprint

Obtain a identifier for the resamples
complement

Determine the Assessment Samples
group_mc_cv

Group Monte Carlo Cross-Validation
as.data.frame.rsplit

Convert an rsplit object to a data frame
add_resample_id

Augment a data set with resampling identifiers