over_ratio {dials} | R Documentation |
For up- and down-sampling methods, these parameters control how much data are added or removed from the training set.
over_ratio(range = c(0.8, 1.2), trans = NULL)
under_ratio(range = c(0.8, 1.2), trans = NULL)
range |
A two-element vector holding the defaults for the smallest and largest possible values, respectively. If a transformation is specified, these values should be in the transformed units. |
trans |
A |
See recipes::step_upsample()
and recipes::step_downsample()
for the
interpretation of these parameters.
under_ratio()
over_ratio()