Package: rsample 1.2.1.9000
rsample: General Resampling Infrastructure
Classes and functions to create and summarize different types of resampling objects (e.g. bootstrap, cross-validation).
Authors:
rsample_1.2.1.9000.tar.gz
rsample_1.2.1.9000.zip(r-4.5)rsample_1.2.1.9000.zip(r-4.4)rsample_1.2.1.9000.zip(r-4.3)
rsample_1.2.1.9000.tgz(r-4.4-any)rsample_1.2.1.9000.tgz(r-4.3-any)
rsample_1.2.1.9000.tar.gz(r-4.5-noble)rsample_1.2.1.9000.tar.gz(r-4.4-noble)
rsample_1.2.1.9000.tgz(r-4.4-emscripten)rsample_1.2.1.9000.tgz(r-4.3-emscripten)
rsample.pdf |rsample.html✨
rsample/json (API)
NEWS
# Install 'rsample' in R: |
install.packages('rsample', repos = c('https://tidymodels.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/tidymodels/rsample/issues
Pkgdown site:https://rsample.tidymodels.org
Last updated 3 months agofrom:f799dba0aa. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Dec 26 2024 |
R-4.5-win | OK | Dec 26 2024 |
R-4.5-linux | OK | Dec 26 2024 |
R-4.4-win | OK | Dec 26 2024 |
R-4.4-mac | OK | Dec 26 2024 |
R-4.3-win | OK | Dec 26 2024 |
R-4.3-mac | OK | Dec 26 2024 |
Exports:.get_fingerprint.get_split_argsadd_resample_idall_ofanalysisany_ofapparentassessmentbootstrapscaret2rsampleclustering_cvcomplementcontainsends_witheverythingform_predget_rsplitgroup_bootstrapsgroup_initial_splitgroup_initial_validation_splitgroup_mc_cvgroup_validation_splitgroup_vfold_cvinitial_splitinitial_time_splitinitial_validation_splitinitial_validation_time_splitinner_splitint_bcaint_pctlint_tlast_colloo_cvmake_splitsmake_stratamanual_rsetmatchesmc_cvnested_cvnew_rsetnum_rangepermutationspopulatereg_intervalsreshuffle_rsetreverse_splitsrolling_originrsample2caretrset_reconstructsliding_indexsliding_periodsliding_windowstarts_withtestingtidytrainingvalidationvalidation_setvalidation_splitvalidation_time_splitvfold_cv
Dependencies:clicodetoolscpp11digestdplyrfansifurrrfuturegenericsglobalsgluelifecyclelistenvmagrittrparallellypillarpkgconfigpurrrR6rlangsliderstringistringrtibbletidyrtidyselectutf8vctrswarpwithr
Common Resampling Patterns
Rendered fromCommon_Patterns.Rmd
usingknitr::rmarkdown
on Dec 26 2024.Last update: 2024-09-04
Started: 2022-07-15
Introduction to rsample
Rendered fromrsample.Rmd
usingknitr::rmarkdown
on Dec 26 2024.Last update: 2023-02-09
Started: 2020-10-09
Working with resampling sets
Rendered fromWorking_with_rsets.Rmd
usingknitr::rmarkdown
on Dec 26 2024.Last update: 2024-09-04
Started: 2017-04-29
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Obtain a identifier for the resamples | .get_fingerprint .get_fingerprint.default .get_fingerprint.rset |
Augment a data set with resampling identifiers | add_resample_id |
Sampling for the Apparent Error Rate | apparent |
Convert an 'rsplit' object to a data frame | analysis analysis.default analysis.rsplit as.data.frame.rsplit assessment assessment.default assessment.rsplit |
Bootstrap Sampling | bootstraps |
Cluster Cross-Validation | clustering_cv |
Determine the Assessment Samples | complement complement.apparent_split complement.rof_split complement.rsplit complement.sliding_index_split complement.sliding_period_split complement.sliding_window_split |
Extract Predictor Names from Formula or Terms | form_pred |
Retrieve individual rsplits objects from an rset | get_rsplit get_rsplit.default get_rsplit.rset |
Group Bootstraps | group_bootstraps |
Group Monte Carlo Cross-Validation | group_mc_cv |
Group V-Fold Cross-Validation | group_vfold_cv |
Simple Training/Test Set Splitting | group_initial_split initial_split initial_time_split testing testing.default testing.rsplit training training.default training.rsplit |
Create an Initial Train/Validation/Test Split | group_initial_validation_split initial_validation_split initial_validation_time_split testing.initial_validation_split training.initial_validation_split validation validation.default validation.initial_validation_split |
Bootstrap confidence intervals | int_bca int_bca.bootstraps int_pctl int_pctl.bootstraps int_t int_t.bootstraps |
Find Labels from rset Object | labels.rset labels.vfold_cv |
Find Labels from rsplit Object | labels.rsplit |
Leave-One-Out Cross-Validation | loo_cv |
Constructors for split objects | make_splits make_splits.data.frame make_splits.default make_splits.list |
Create or Modify Stratification Variables | make_strata |
Manual resampling | manual_rset |
Monte Carlo Cross-Validation | mc_cv |
Nested or Double Resampling | nested_cv |
Permutation sampling | permutations |
Add Assessment Indices | populate |
A convenience function for confidence intervals with linear-ish parametric models | reg_intervals |
"Reshuffle" an rset to re-generate a new rset with the same parameters | reshuffle_rset |
Reverse the analysis and assessment sets | reverse_splits reverse_splits.default reverse_splits.permutations reverse_splits.perm_split reverse_splits.rset reverse_splits.rsplit |
Rolling Origin Forecast Resampling | rolling_origin |
Compatibility with dplyr | rsample-dplyr |
Convert Resampling Objects to Other Formats | caret2rsample rsample2caret |
Extending rsample with new rset subclasses | rset_reconstruct |
Time-based Resampling | slide-resampling sliding_index sliding_period sliding_window |
Tidy Resampling Object | tidy.nested_cv tidy.rset tidy.rsplit tidy.vfold_cv |
Create a Validation Split for Tuning | analysis.val_split assessment.val_split testing.val_split training.val_split validation.val_split validation_set |
V-Fold Cross-Validation | vfold_cv |