| mlr_pipeops_augment_random_order | R Documentation |
Calls torchvision::transform_random_order,
see there for more information on the parameters.
The preprocessing is applied to each element of a batch individually.
Being an augment_ operator, its stages parameter starts out as "train", so the augmentation is applied while training and not when predicting. Set stages = "both" to apply it in both phases.
See PipeOpTaskPreprocTorch for the stages parameter and this naming convention.
R6Class inheriting from PipeOpTaskPreprocTorch.
po("augment_random_order")
| Id | Type | Default | Levels |
| transforms | untyped | - | |
| stages | character | - | train, predict, both |
| affect_columns | untyped | selector_all() | |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.