-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add group_initial_split()
and group_validation_split()
#315
Conversation
Can you open another issue to outline the inconsistency in the classes? And walk through which ones could be addressed? The way names have ended up is a bit of a bummer. What is the best option?
|
Opened #318 for classes. As for names: I personally don't hate that the names are inconsistent for these two. If we had more time-based functions, I think I'd rather prefix with |
OK, sounds good on the naming! 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So great! 🚀
This pull request has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue. |
This PR adds
group_initial_split()
andgroup_validation_split()
. These are documented as part ofinitial_split()
andvalidation_split()
, and don't have their own classes, in order to match the time-based methods. We might consider doing the same forgroup_vfold_cv()
andgroup_mc_cv()
(or, possibly changing these to use their own classes).It also fixes a bug where
group_mc_cv(..., times = 1)
would never produce an assessment set, because all data would be assigned to the same fold.Created on 2022-06-28 by the reprex package (v2.0.1)