A supervised learning algorithm inputs a train set, and outputs a prediction function, which can be used on a test set. If each data point belongs to a subset (such as geographic region, year, etc), then how do we know if subsets are similar enough so that we can get accurate predictions on one subset, after training on Other subsets? And how do we know if training on All subsets would improve prediction accuracy, relative to training on the Same subset? SOAK, Same/Other/All K-fold cross-validation, <doi:10.48550/arXiv.2410.08643> can be used to answer these questions, by fixing a test subset, training models on Same/Other/All subsets, and then comparing test error rates (Same versus Other and Same versus All). Also provides code for estimating how many train samples are required to get accurate predictions on a test set.
Version: 2025.6.23 Imports: data.table, R6, checkmate, paradox, mlr3 (≥ 0.21.1), mlr3misc, batchtools, filelock Suggests: ggplot2, animint2, mlr3tuning, lgr, future, testthat, knitr, markdown, nc, rpart, directlabels, mlr3torch, torch Published: 2025-06-23 DOI: 10.32614/CRAN.package.mlr3resampling Author: Toby Hocking [aut, cre], Michel Lang [ctb] (Author of mlr3 when Resampling/ResamplingCV was copied/modified), Bernd Bischl [ctb] (Author of mlr3 when Resampling/ResamplingCV was copied/modified), Jakob Richter [ctb] (Author of mlr3 when Resampling/ResamplingCV was copied/modified), Patrick Schratz [ctb] (Author of mlr3 when Resampling/ResamplingCV was copied/modified), Giuseppe Casalicchio [ctb] (Author of mlr3 when Resampling/ResamplingCV was copied/modified), Stefan Coors [ctb] (Author of mlr3 when Resampling/ResamplingCV was copied/modified), Quay Au [ctb] (Author of mlr3 when Resampling/ResamplingCV was copied/modified), Martin Binder [ctb], Florian Pfisterer [ctb] (Author of mlr3 when Resampling/ResamplingCV was copied/modified), Raphael Sonabend [ctb] (Author of mlr3 when Resampling/ResamplingCV was copied/modified), Lennart Schneider [ctb] (Author of mlr3 when Resampling/ResamplingCV was copied/modified), Marc Becker [ctb] (Author of mlr3 when Resampling/ResamplingCV was copied/modified), Sebastian Fischer [ctb] (Author of mlr3 when Resampling/ResamplingCV was copied/modified) Maintainer: Toby Hocking <toby.hocking at r-project.org> BugReports: https://github.com/tdhock/mlr3resampling/issues License: LGPL-3 URL: https://github.com/tdhock/mlr3resampling NeedsCompilation: no Materials: NEWS CRAN checks: mlr3resampling results Documentation: Downloads: Linking:Please use the canonical form https://CRAN.R-project.org/package=mlr3resampling to link to this page.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4