Skip to content

mlr3resampling

2026.9.24Package record

Resampling Algorithms for 'mlr3' Framework

0packages depend
5Kdownloads / year
87.8%test coverage
13/13flavors OK

Overview

About

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.1002/sam.70055 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.

Changes in 2026.9.24
  • CSS width 1000px in vignettes.

From NEWS in the release

Install

Health

CRAN checks
13OK
Slowest check: 5.6 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-07
  • OK13 OK2026-05-20
Show 1 earlier changeHide 1 earlier change
  • ERROR9 OK, 5 ERROR2026-03-10
Advisories

none known

Documentation

In release 2026.9.24
READMENoVignettesYes · 3 · dynamicNEWSYes · 100% structured · mentions 2026.9.24Citation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Help pages
11
Examples that run
100%11 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
80%
Help pages citing references
0%

Downloads

5K
CRAN downloads in the past year
Rank #6,173 · ~14/day · ~418/mo
Daily download trend is not available in this view yet.
53730 days
1.4K90 days
5K1 year
Compare downloads with other packages →
Also on225 r2u2 autocran

Repository

7Stars
6Forks
8Open issues
1Open PRs
0Releases
604Commits
8Commit identities
604 commits · Last activity 2026-10-22 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
83%
Median days to close, 50 most recently updated closed issues
6
Median days to close, 50 most recently updated closed PRs
2

Stars over time

2025-10-18 · 62026-09-07 · 7
PracticesBeta

4 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/tdhock/mlr3resampling on 2026-10-21.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (1)
litedown
Coverage (1)
Coverage reporting
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
28 external dependencies (excludes base and recommended)

Installing mlr3resampling adds 26 packages (13 with compiled code, 19 MB of source tarballs). Heaviest: data.table 5.7 MB, palmerpenguins 2.9 MB, Rcpp 1.8 MB.

Depends (0)
none
LinkingTo (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (15)
Author, Maintainer since 2023.12.20 (2023)
Contributor · added in 2026.5.19
Contributor
Author of mlr3 when Resampling/ResamplingCV was copied/modified
Contributor
Author of mlr3 when Resampling/ResamplingCV was copied/modified
Contributor
Contributor
Author of mlr3 when Resampling/ResamplingCV was copied/modified
Contributor
Author of mlr3 when Resampling/ResamplingCV was copied/modified
Contributor
Author of mlr3 when Resampling/ResamplingCV was copied/modified
Contributor
Author of mlr3 when Resampling/ResamplingCV was copied/modified
Show 6 more contributorsHide 6 contributors
Contributor
Author of mlr3 when Resampling/ResamplingCV was copied/modified
Contributor
Author of mlr3 when Resampling/ResamplingCV was copied/modified
Contributor
Author of mlr3 when Resampling/ResamplingCV was copied/modified
Contributor
Author of mlr3 when Resampling/ResamplingCV was copied/modified
Contributor
Author of mlr3 when Resampling/ResamplingCV was copied/modified
Contributor
Author of mlr3 when Resampling/ResamplingCV was copied/modified
Releases (13)

Pick two releases to compare their code metrics.

  • 2026.9.24Latest
    record
    2026-09-24 · current release · diff ↗
  • 2026.5.19
    record
    2026-05-19 · diff ↗ ·
    removed 2 exports
    ResamplingSameOtherCV, ResamplingVariableSizeTrainCV
    added 1 export
    pvalue_downsample
  • R
    R 4.6.0 released · 2026-04-24
  • 2026.2.24
    record
    2026-02-26 · diff ↗
  • 2025.11.19
    record
    2025-11-20 · diff ↗ ·
    removed 1 export
    proj_compute_until_done
    added 8 exports
    proj_fread, proj_test, proj_compute_mpi, proj_compute_all, proj_todo, LearnerRegrCVGlmnetSave, LearnerClassifCVGlmnetSave, AutoTunerTorch_epochs
  • 2025.6.23
    record
    2025-06-23 · diff ↗ ·
    added 6 exports
    proj_grid, proj_compute, proj_compute_until_done, proj_results, proj_submit, proj_results_save
  • R
    R 4.5.0 released · 2025-04-11
  • 2025.3.30
    record
    2025-04-09 · diff ↗ ·
    added 1 export
    pvalue
  • 2024.9.6
    record
    2024-09-11 · diff ↗
  • 2024.7.7
    record
    2024-07-12 · diff ↗
  • 2024.7.3
    record
    2024-07-06 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • unarchivedReturned to CRAN
    2024-04-16
  • 2024.4.14
    record
    2024-04-16 · diff ↗ ·
    added 1 export
    ResamplingSameOtherSizesCV
  • archivedRemoved from CRAN
    2024-02-29
    issues were not corrected in time
  • 2024.1.23
    record
    2024-02-01 · diff ↗
Show 3 earlier eventsHide 3 earlier events
  • 2024.1.8
    record
    2024-01-09 · diff ↗ ·
    added 1 export
    ResamplingVariableSizeTrainCV
  • 2023.12.20
    record
    2023-12-21
  • R
    R 4.3.0 released · 2023-04-21

Package metadata

First published
2023-12-21
Total releases
13 / 3 yrs
License
LGPL-3 OSI · relicensed from GPL-3 in 2025.6.23
Bundled data
169 KB / 1 file
Download size
331 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("mlr3resampling")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.1002/sam.70055.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for mlr3resampling version 2026.9.24 [Data set]. HJJB, LLC. Data release v2026-10-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy