tidymodels / tidymodels/rsample

m-out-of-n bootstrap

Open
#472 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
R
Stars
343
Forks
67
Avg merge
1h 9m
Merged PRs (30d)
2

Description

Suggested feature: allow for sampling m times at each bootstrap iteration instead of the default n times. With m < n, and n is the length of the object to be resampled. Some rationale for doing that is provided here, for example: https://doi.org/10.1002/9781118445112.stat08002

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files or tests; begin by locating the package's bootstrap resampling entry point and existing bootstrap tests. Compare the current n-draw behavior with the requested m<n option, then define completion through tests showing that the requested sample size is used.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.