rsample 1.2.0
-
The new
initial_validation_split()
, along with variantsinitial_validation_time_split()
andgroup_initial_validation_split()
, generates a three-way split of the data into training, validation, and test sets. With the newvalidation_set()
, this can be turned into anrset
object for tuning (#403, #446). -
validation_split()
,validation_time_split()
, andgroup_validation_split()
have been soft-deprecated in favor of the new functions implementing a 3-way split (initial_validation_split()
,initial_validation_time_split()
, andgroup_initial_validation_split()
) (#449). -
Functions which don't use the ellipsis
...
now enforce empty dots (#429). -
make_splits()
gained an example in the documentation (@AngelFelizR, #432). -
training()
,testing()
,analysis()
, andassessment()
are now S3 generics with methods forrsplit
objects. Previously they manually required the input to be anrsplit
object (#384). -
The
int_*()
functions are now S3 generics and have corresponding methods for classbootstraps
(#435). -
The underlying mechanics of data splitting were changed so that
Surv
objects maintain their class. This change affects the row names of the resulting objects; they are reindexed from one instead of being a subset of the original row names (#443). -
rsample does not re-export
gather()
anymore (#451).