The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
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 question, 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.3.30 |
Imports: | data.table, R6, checkmate, paradox, mlr3 (≥ 0.21.1), mlr3misc |
Suggests: | ggplot2, animint2, mlr3tuning, lgr, future, testthat, knitr, markdown, nc, rpart, directlabels |
Published: | 2025-04-09 |
DOI: | 10.32614/CRAN.package.mlr3resampling |
Author: | Toby Hocking |
Maintainer: | Toby Hocking <toby.hocking at r-project.org> |
BugReports: | https://github.com/tdhock/mlr3resampling/issues |
License: | GPL-3 |
URL: | https://github.com/tdhock/mlr3resampling |
NeedsCompilation: | no |
Materials: | NEWS |
CRAN checks: | mlr3resampling results |
Reference manual: | mlr3resampling.pdf |
Vignettes: |
Comparing sizes when training on same or other groups (source, R code) Older resamplers (source, R code) |
Package source: | mlr3resampling_2025.3.30.tar.gz |
Windows binaries: | r-devel: mlr3resampling_2025.3.30.zip, r-release: mlr3resampling_2025.3.30.zip, r-oldrel: mlr3resampling_2024.9.6.zip |
macOS binaries: | r-devel (arm64): mlr3resampling_2025.3.30.tgz, r-release (arm64): mlr3resampling_2025.3.30.tgz, r-oldrel (arm64): mlr3resampling_2025.3.30.tgz, r-devel (x86_64): mlr3resampling_2025.3.30.tgz, r-release (x86_64): mlr3resampling_2025.3.30.tgz, r-oldrel (x86_64): mlr3resampling_2025.3.30.tgz |
Old sources: | mlr3resampling archive |
Please use the canonical form https://CRAN.R-project.org/package=mlr3resampling to link to this page.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.