mlr_pipeopsaugment_random_horizontal_flip function

Random Horizontal Flip Augmentation

Random Horizontal Flip Augmentation

Calls torchvision::transform_random_horizontal_flip, see there for more information on the parameters. The preprocessing is applied to each element of a batch individually.

Format

R6Class inheriting from PipeOpTaskPreprocTorch.

Parameters

IdTypeDefaultLevelsRange
pnumeric0.5[0,1][0, 1]
stagescharacter-train, predict, both-
affect_columnsuntypedselector_all()-