---
title: RandomTransformer
framework: createmlcomponents
role: symbol
role_heading: Protocol
path: createmlcomponents/randomtransformer
---

# RandomTransformer

A transformer that takes an input and a random number generator and produces a randomized output.

## Declaration

```swift
protocol RandomTransformer<Input, Output>
```

## Topics

### Performing the transformation

- [applied(to:generator:eventHandler:)](createmlcomponents/randomtransformer/applied(to:generator:eventhandler:).md)
- [Input](createmlcomponents/randomtransformer/input.md)
- [Output](createmlcomponents/randomtransformer/output.md)

## Relationships

### Conforming Types

- [ApplyEachRandomly](createmlcomponents/applyeachrandomly.md)
- [ApplyRandomly](createmlcomponents/applyrandomly.md)
- [ChooseRandomly](createmlcomponents/chooserandomly.md)
- [RandomImageCropper](createmlcomponents/randomimagecropper.md)
- [ShuffleRandomly](createmlcomponents/shufflerandomly.md)
- [UniformRandomFloatingPointParameter](createmlcomponents/uniformrandomfloatingpointparameter.md)
- [UniformRandomIntegerParameter](createmlcomponents/uniformrandomintegerparameter.md)

## See Also

### Protocols

- [Transformer](createmlcomponents/transformer.md)
- [TemporalTransformer](createmlcomponents/temporaltransformer.md)
- [Estimator](createmlcomponents/estimator.md)
- [TemporalEstimator](createmlcomponents/temporalestimator.md)
- [SupervisedEstimator](createmlcomponents/supervisedestimator.md)
- [SupervisedTemporalEstimator](createmlcomponents/supervisedtemporalestimator.md)
- [UpdatableEstimator](createmlcomponents/updatableestimator.md)
- [UpdatableSupervisedEstimator](createmlcomponents/updatablesupervisedestimator.md)
- [UpdatableSupervisedTemporalEstimator](createmlcomponents/updatablesupervisedtemporalestimator.md)
- [UpdatableSupervisedTabularEstimator](createmlcomponents/updatablesupervisedtabularestimator.md)
- [UpdatableTemporalEstimator](createmlcomponents/updatabletemporalestimator.md)
- [UpdatableTabularEstimator](createmlcomponents/updatabletabularestimator.md)
