downsample {mlr} | R Documentation |
Downsample (subsample) a task or a data.frame.
Description
Decrease the observations in a task
or a ResampleInstance
to a given percentage of observations.
Usage
downsample(obj, perc = 1, stratify = FALSE)
Arguments
obj |
(Task | ResampleInstance) |
perc |
( |
stratify |
( |
Value
([data.frame| [Task] | [ResampleInstance]). Same type as
obj'.
See Also
Other downsample:
makeDownsampleWrapper()
[Package mlr version 2.19.2 Index]