Distort a dataset by random scale, shift, and rotation.
The original data samples are transformed by applying a random rotation, shifting by a random vector (randomly selected, scaled input sample), and scaled by a random factor (randomly selected input feature values, scaled by an additional factor). The effective transformation values are stored in the output dataset’s attribute collection as ‘random_rotation’, ‘random_shift’, and ‘random_scale’ respectively.
Parameters: | ds : Dataset
scale_fac : float
shift_fac : float
|
---|