---
title: PreprocessingUpdatableEstimator
framework: createmlcomponents
role: symbol
role_heading: Structure
path: createmlcomponents/preprocessingupdatableestimator
---

# PreprocessingUpdatableEstimator

An updatable estimator that composes a preprocessing transformer and an updatable estimator.

## Declaration

```swift
struct PreprocessingUpdatableEstimator<Preprocessor, Estimator> where Preprocessor : Transformer, Estimator : UpdatableEstimator, Preprocessor.Output == Estimator.Transformer.Input
```

## Topics

### Creating an estimator

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

### Getting the properties

- [estimator](createmlcomponents/preprocessingupdatableestimator/estimator.md)
- [preprocessor](createmlcomponents/preprocessingupdatableestimator/preprocessor.md)

### Encoding and decoding

- [decodeWithOptimizer(from:)](createmlcomponents/preprocessingupdatableestimator/decodewithoptimizer(from:).md)
- [encodeWithOptimizer(_:to:)](createmlcomponents/preprocessingupdatableestimator/encodewithoptimizer(_:to:).md)

### Preprocesing and fitting

- [preprocessed(from:eventHandler:)](createmlcomponents/preprocessingupdatableestimator/preprocessed(from:eventhandler:).md)
- [fitted(to:eventHandler:)](createmlcomponents/preprocessingupdatableestimator/fitted(to:eventhandler:).md)
- [fitted(toPreprocessed:eventHandler:)](createmlcomponents/preprocessingupdatableestimator/fitted(topreprocessed:eventhandler:).md)
- [makeTransformer()](createmlcomponents/preprocessingupdatableestimator/maketransformer().md)
- [update(_:with:eventHandler:)](createmlcomponents/preprocessingupdatableestimator/update(_:with:eventhandler:).md)
- [update(_:withPreprocessed:eventHandler:)](createmlcomponents/preprocessingupdatableestimator/update(_:withpreprocessed:eventhandler:).md)
- [PreprocessingUpdatableEstimator.Input](createmlcomponents/preprocessingupdatableestimator/input.md)
- [PreprocessingUpdatableEstimator.Intermediate](createmlcomponents/preprocessingupdatableestimator/intermediate.md)
- [PreprocessingUpdatableEstimator.Output](createmlcomponents/preprocessingupdatableestimator/output.md)
- [Transformer](createmlcomponents/transformer.md)

## Relationships

### Conforms To

- [Estimator](createmlcomponents/estimator.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [UpdatableEstimator](createmlcomponents/updatableestimator.md)

## See Also

### Composition with preprocessing

- [PreprocessingEstimator](createmlcomponents/preprocessingestimator.md)
- [PreprocessingTemporalEstimator](createmlcomponents/preprocessingtemporalestimator.md)
- [PreprocessingSupervisedEstimator](createmlcomponents/preprocessingsupervisedestimator.md)
- [PreprocessingSupervisedTemporalEstimator](createmlcomponents/preprocessingsupervisedtemporalestimator.md)
- [PreprocessingUpdatableTemporalEstimator](createmlcomponents/preprocessingupdatabletemporalestimator.md)
- [PreprocessingUpdatableSupervisedEstimator](createmlcomponents/preprocessingupdatablesupervisedestimator.md)
- [PreprocessingUpdatableSupervisedTemporalEstimator](createmlcomponents/preprocessingupdatablesupervisedtemporalestimator.md)
