Decrease the observations in a task
or a ResampleInstance
to a given percentage of observations.
downsample(obj, perc = 1, stratify = FALSE)
obj | (Task | ResampleInstance) |
---|---|
perc | ( |
stratify | ( |
([data.frame| [Task] | [ResampleInstance]). Same type as
obj`.
Other downsample:
makeDownsampleWrapper()