---
title: "update(_:withPreprocessed:eventHandler:)"
framework: createmlcomponents
role: symbol
role_heading: Instance Method
path: "createmlcomponents/preprocessingupdatabletabularestimator/update(_:withpreprocessed:eventhandler:)"
---

# update(_:withPreprocessed:eventHandler:)

Updates a transformer with a new data frame of preprocessed features.

## Declaration

```swift
func update(_ transformer: inout PreprocessingUpdatableTabularEstimator<Preprocessor, Estimator>.Transformer, withPreprocessed preprocessed: DataFrame, eventHandler: EventHandler? = nil) async throws
```

## Parameters

- `transformer`: A transformer to update.
- `preprocessed`: A data frame of preprocessed features.
- `eventHandler`: An event handler.

## See Also

### Preprocesing and fitting

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