Public methods
Method new()
Create an "coordinate-based" repeated resampling instance.
For a list of available arguments, please see sperrorest::partition_cv.
Usage
ResamplingRepeatedSpCVCoords$new(id = "repeated_spcv_coords")
Arguments
id
character(1)
Identifier for the resampling strategy.
Method folds()
Translates iteration numbers to fold number.
Usage
ResamplingRepeatedSpCVCoords$folds(iters)
Arguments
iters
integer()
Iteration number.
Method repeats()
Translates iteration numbers to repetition number.
Usage
ResamplingRepeatedSpCVCoords$repeats(iters)
Arguments
iters
integer()
Iteration number.
Method instantiate()
Materializes fixed training and test splits for a given task.
Usage
ResamplingRepeatedSpCVCoords$instantiate(task)
Arguments
task
Task
A task to instantiate.
Method clone()
The objects of this class are cloneable with this method.
Usage
ResamplingRepeatedSpCVCoords$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.