Public methods
Method new()
Create a "Spacetime Folds" resampling instance.
Usage
ResamplingSptCVCstf$new(
id = "sptcv_cstf",
space_var = NULL,
time_var = NULL,
class = NULL
)
Arguments
idcharacter(1)
Identifier for the resampling strategy.
space_varcharacter(1)
Column name identifying the spatial units.
time_varcharacter(1)
Column name identifying the temporal units.
classcharacter(1)
Column name identifying a class unit (e.g. land cover).
Method instantiate()
Materializes fixed training and test splits for a given task.
Usage
ResamplingSptCVCstf$instantiate(task)
Arguments
taskTask
A task to instantiate.
space_var[character]
Column name identifying the spatial units.
time_var[character]
Column name identifying the temporal units.
class[character]
Column name identifying a class unit (e.g. land cover).
Method clone()
The objects of this class are cloneable with this method.
Usage
ResamplingSptCVCstf$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.