Skip to content

mlr3resampling

Resampling Algorithms for 'mlr3' Framework

v2026.2.24 · Feb 26, 2026 · LGPL-3

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

Downloads

370

Last 30 days

8810th

370

Last 90 days

370

Last year

CRAN Check Status

5 ERROR
9 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 ERROR
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 ERROR
r-oldrel-macos-x86_64 ERROR
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 ERROR
r-release-macos-x86_64 ERROR
r-release-windows-x86_64 OK
Check details (14 non-OK)
OK r-devel-linux-x86_64-debian-clang

*


            
OK r-devel-linux-x86_64-debian-gcc

*


            
OK r-devel-linux-x86_64-fedora-clang

*


            
OK r-devel-linux-x86_64-fedora-gcc

*


            
ERROR r-devel-macos-arm64

package dependencies

Package required but not available: ‘pbdMPI’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK r-devel-windows-x86_64

*


            
ERROR r-oldrel-macos-arm64

package dependencies

Package required but not available: ‘pbdMPI’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
ERROR r-oldrel-macos-x86_64

package dependencies

Package required but not available: ‘pbdMPI’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK r-oldrel-windows-x86_64

*


            
OK r-patched-linux-x86_64

*


            
OK r-release-linux-x86_64

*


            
ERROR r-release-macos-arm64

package dependencies

Package required but not available: ‘pbdMPI’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
ERROR r-release-macos-x86_64

package dependencies

Package required but not available: ‘pbdMPI’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK r-release-windows-x86_64

*


            

Check History

ERROR 9 OK · 0 NOTE · 0 WARNING · 5 ERROR · 0 FAILURE Mar 9, 2026
ERROR r-devel-macos-arm64

package dependencies

Package required but not available: ‘pbdMPI’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
ERROR r-release-macos-arm64

package dependencies

Package required but not available: ‘pbdMPI’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
ERROR r-release-macos-x86_64

package dependencies

Package required but not available: ‘pbdMPI’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
ERROR r-oldrel-macos-arm64

package dependencies

Package required but not available: ‘pbdMPI’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
ERROR r-oldrel-macos-x86_64

package dependencies

Package required but not available: ‘pbdMPI’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.

Dependency Network

Dependencies Reverse dependencies data.table R6 checkmate paradox mlr3 mlr3misc pbdMPI mlr3resampling

Version History

new 2026.2.24 Mar 9, 2026