General Resampling Infrastructure

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


News

rsample 0.0.4

Small maintenence release.

Minor improvements and fixes

  • fill() was removed per the deprecation warning.
  • Small changes were made for the new version of tibble.

rsample 0.0.3

New features

  • Added function initial_time_split for ordered initial sampling appropriate for time series data.

Minor improvements and fixes

  • fill() has been renamed populate() to avoid a conflict with tidyr::fill().

  • Changed the R version requirement to be R >= 3.1 instead of 3.3.3.

  • The recipes-related prepper function was moved to the recipes package. This makes the rsample install footprint much smaller.

  • rsplit objects are shown differently inside of a tibble.

  • Moved from the broom package to the generics package.

rsample 0.0.2

  • initial_split, training, and testing were added to do training/testing splits prior to resampling.
  • Another resampling method, group_vfold_cv, was added.
  • caret2rsample and rsample2caret can convert rset objects to those used by caret::trainControl and vice-versa.
  • A function called form_pred can be used to determine the original names of the predictors in a formula or terms object.
  • A vignette and a function (prepper) were included to facilitate using the recipes with rsample.
  • A gather method was added for rset objects.
  • A labels method was added for rsplit objects. This can help identify which resample is being used even when the whole rset object is not available.
  • A variety of dplyr methods were added (e.g. filter, mutate, etc) that work without dropping classes or attributes of the rsample objects.

rsample 0.0.1 (2017-07-08)

Initial public version on CRAN

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("rsample")

0.0.5 by Max Kuhn, 4 months ago


https://tidymodels.github.io/rsample


Report a bug at https://github.com/tidymodels/rsample/issues


Browse source code at https://github.com/cran/rsample


Authors: Max Kuhn [aut, cre] , Fanny Chow [aut] , Hadley Wickham [aut] , RStudio [cph]


Documentation:   PDF Manual  


GPL-2 license


Imports dplyr, purrr, tibble, rlang, methods, generics, utils, tidyselect, furrr

Depends on tidyr

Suggests ggplot2, testthat, rmarkdown, knitr, AmesHousing, recipes, broom


Imported by MachineShop, broomExtra, ivdesc, sitar, tidymodels, tidyposterior.

Suggested by broom, butcher, probably, recipes, solitude, tidyrules.


See at CRAN