Package: mlr3resampling 2024.10.28

mlr3resampling: Resampling Algorithms for 'mlr3' Framework

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.

Authors:Toby Hocking [aut, cre], Michel Lang [ctb], Bernd Bischl [ctb], Jakob Richter [ctb], Patrick Schratz [ctb], Giuseppe Casalicchio [ctb], Stefan Coors [ctb], Quay Au [ctb], Martin Binder [ctb], Florian Pfisterer [ctb], Raphael Sonabend [ctb], Lennart Schneider [ctb], Marc Becker [ctb], Sebastian Fischer [ctb]

mlr3resampling_2024.10.28.tar.gz
mlr3resampling_2024.10.28.zip(r-4.5)mlr3resampling_2024.10.28.zip(r-4.4)mlr3resampling_2024.10.28.zip(r-4.3)
mlr3resampling_2024.10.28.tgz(r-4.4-any)mlr3resampling_2024.10.28.tgz(r-4.3-any)
mlr3resampling_2024.10.28.tar.gz(r-4.5-noble)mlr3resampling_2024.10.28.tar.gz(r-4.4-noble)
mlr3resampling_2024.10.28.tgz(r-4.4-emscripten)mlr3resampling_2024.10.28.tgz(r-4.3-emscripten)
mlr3resampling.pdf |mlr3resampling.html
mlr3resampling/json (API)
NEWS

# Install 'mlr3resampling' in R:
install.packages('mlr3resampling', repos = c('https://tdhock.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/tdhock/mlr3resampling/issues

Datasets:

On CRAN:

5.01 score 3 stars 331 downloads 4 exports 21 dependencies

Last updated 16 hours agofrom:e6e3406032. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 05 2024
R-4.5-winOKNov 05 2024
R-4.5-linuxOKNov 05 2024
R-4.4-winOKNov 05 2024
R-4.4-macOKNov 05 2024
R-4.3-winOKNov 05 2024
R-4.3-macOKNov 05 2024

Exports:ResamplingSameOtherCVResamplingSameOtherSizesCVResamplingVariableSizeTrainCVscore

Dependencies:backportscheckmatecodetoolsdata.tabledigestevaluatefuturefuture.applyglobalslgrlistenvmlbenchmlr3mlr3measuresmlr3miscpalmerpenguinsparadoxparallellyPRROCR6uuid

Comparing sizes when training on same or other groups

Rendered fromNewer_resamplers.Rmdusingknitr::knitron Nov 05 2024.

Last update: 2024-09-06
Started: 2024-05-14

Older resamplers

Rendered fromOlder_resamplers.Rmdusingknitr::knitron Nov 05 2024.

Last update: 2024-09-06
Started: 2024-05-02