Inner split of the analysis set for fitting a post-processor
Usage
inner_split(x, ...)
# S3 method for class 'mc_split'
inner_split(x, split_args, ...)
# S3 method for class 'group_mc_split'
inner_split(x, split_args, ...)
# S3 method for class 'vfold_split'
inner_split(x, split_args, ...)
# S3 method for class 'group_vfold_split'
inner_split(x, split_args, ...)
# S3 method for class 'boot_split'
inner_split(x, split_args, ...)
# S3 method for class 'group_boot_split'
inner_split(x, split_args, ...)
# S3 method for class 'val_split'
inner_split(x, split_args, ...)
# S3 method for class 'group_val_split'
inner_split(x, split_args, ...)
# S3 method for class 'time_val_split'
inner_split(x, split_args, ...)
# S3 method for class 'clustering_split'
inner_split(x, split_args, ...)
# S3 method for class 'apparent_split'
inner_split(x, ...)Details
rsplit objects live most commonly inside of an rset object. The
split_args argument can be the output of .get_split_args() on that
corresponding rset object, even if some of the arguments used to create the
rset object are not needed for the inner split.
For
mc_splitandgroup_mc_splitobjects,inner_split()will ignoresplit_args$times.For
vfold_splitandgroup_vfold_splitobjects, it will ignoresplit_args$timesandsplit_args$repeats.split_args$vwill be used to setsplit_args$propto1 - 1/vifpropis not already set and otherwise ignored. The method forgroup_vfold_splitwill always usesplit_args$balance = NULL.For
boot_splitandgroup_boot_splitobjects, it will ignoresplit_args$times.For
val_split,group_val_split, andtime_val_splitobjects, it will interpret a length-2split_args$propas a ratio between the training and validation sets and split into inner analysis and inner assessment set in the same ratio. Ifsplit_args$propis a single value, it will be used as the proportion of the inner analysis set.For
clustering_splitobjects, it will ignoresplit_args$repeats.
