tidymodels / tidymodels/rsample

Manual specification of calibration split

Open
#573 2 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

We have inner_split() methods for the automatic/default behaviour on how to make calibration spilts, but those are not accessible to the user. We still need a way to allow users to create splits beyond what inner_split() automatically does.

Our current thinking is to provide a helper function to make resampling objects that carry the calibration info, rather than opening up access to inner_split(). So basically, a different approach than #493.

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

Start by reading the existing inner_split() methods and the discussion in issue #493. Determine how a helper for user-created calibration splits should construct resampling objects and preserve calibration information. Done means users can create splits beyond the automatic behavior without directly accessing inner_split().

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.