---
title: ChooseRandomly
framework: createmlcomponents
role: symbol
role_heading: Structure
path: createmlcomponents/chooserandomly
---

# ChooseRandomly

Apply single transformation randomly chosen from a list of transformers.

## Declaration

```swift
struct ChooseRandomly<Element>
```

## Topics

### Creating an augmentation

- [init(_:)](createmlcomponents/chooserandomly/init(_:).md)

### Applying transformers

- [applied(to:generator:eventHandler:)](createmlcomponents/chooserandomly/applied(to:generator:eventhandler:).md)

## Relationships

### Conforms To

- [RandomTransformer](createmlcomponents/randomtransformer.md)

## See Also

### Augmentations

- [ApplyEachRandomly](createmlcomponents/applyeachrandomly.md)
- [ApplyRandomly](createmlcomponents/applyrandomly.md)
- [AugmentationBuilder](createmlcomponents/augmentationbuilder.md)
- [AugmentationSequence](createmlcomponents/augmentationsequence.md)
- [Augmenter](createmlcomponents/augmenter.md)
- [RandomImageCropper](createmlcomponents/randomimagecropper.md)
- [ShuffleRandomly](createmlcomponents/shufflerandomly.md)
- [UniformRandomFloatingPointParameter](createmlcomponents/uniformrandomfloatingpointparameter.md)
- [UniformRandomIntegerParameter](createmlcomponents/uniformrandomintegerparameter.md)
- [UpsampledAugmentationSequence](createmlcomponents/upsampledaugmentationsequence.md)
