rsample 1.1.0
-
rset objects now include all parameters used to create them as attributes (#329).
-
Objects returned by sliding functions now have an
index
attribute, where appropriate, containing the column name used as an index (#329). -
Objects returned by
permutations()
now have apermutes
attribute containing the column name used for permutation (#329). -
Added
breaks
andpool
as attributes to all functions which support stratification (#329). -
Changed the "strata" attribute on rset objects so that it now is either a character vector identifying the column used to stratify the data, and is not present (set to
NULL
) if stratification was not used. (#329) -
Added a new function,
reshuffle_rset()
, which takes anrset
object and generates a new version of it using the same arguments but the current random seed. (#79, #329) -
Added arguments to control how
group_vfold_cv()
combines groups. Usebalance = "groups"
to assign (roughly) the same number of groups to each fold, orbalance = "observations"
to assign (roughly) the same number of observations to each fold. -
Added a
repeats
argument togroup_vfold_cv()
(#330). -
Added new functions for grouped resampling:
group_mc_cv()
(#313),group_initial_split()
andgroup_validation_split()
(#315), andgroup_bootstraps()
(#316). -
Added a new function,
reverse_splits()
, to swap analysis and assessment splits (#319, #284). -
Improved the error thrown when calling
assessment()
on aperm_split
object created bypermutations()
(#321, #322).