mlr_pipeopstrafo_adjust_saturation function

Adjust Saturation Transformation

Adjust Saturation Transformation

Calls torchvision::transform_adjust_saturation, 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
saturation_factornumeric-(Inf,Inf)(-Inf, Inf)
stagescharacter-train, predict, both-
affect_columnsuntypedselector_all()-