mlr_pipeopstrafo_adjust_gamma function

Adjust Gamma Transformation

Adjust Gamma Transformation

Calls torchvision::transform_adjust_gamma, 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
gammanumeric-[0,Inf)[0, Inf)
gainnumeric1(Inf,Inf)(-Inf, Inf)
stagescharacter-train, predict, both-
affect_columnsuntypedselector_all()-