Skip to content

Reversing analysis and assessment splits #284

@mattwarkentin

Description

@mattwarkentin

Hi,

I use the group_vfold_cv() function a lot, but I have recently been needing to reverse the analysis and assessment splits. For example, lets say you have 3 groups, group_vfold_cv() would create three folds, whereby within each fold 2 groups are used for training, and one is held aside for testing. I would like to do the opposite, where one group is used for training, and the remaining groups are used for testing.

I don't think this is possible using make_splits(), unless I'm just doing it incorrectly. Would you ever consider supporting this resampling scheme? If not, is it possible for me to create these kinds of splits using the existing rsample machinery?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions