Learn R Programming

⚠️There's a newer version (2026.2.24) of this package.Take me there.

mlr3resampling (version 2025.6.23)

Resampling Algorithms for 'mlr3' Framework

Description

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, 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.

Copy Link

Version

Install

install.packages('mlr3resampling')

Monthly Downloads

314

Version

2025.6.23

License

LGPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Toby Hocking

Last Published

June 23rd, 2025

Functions in mlr3resampling (2025.6.23)

AZtrees

Arizona Trees
proj_results

Combine and save results in a project
pvalue

P-values for comparing Same/Other/All training
ResamplingSameOtherCV

Resampling for comparing training on same or other subsets
proj_compute

Compute resampling results in a project
proj_grid

Initialize a new project grid table
proj_submit

Submit resampling split jobs in parallel
ResamplingSameOtherSizesCV

Resampling for comparing train subsets and sizes
ResamplingVariableSizeTrainCV

Resampling for comparing training on same or other groups
score

Score benchmark results