---
title: makeTransformer()
framework: createmlcomponents
role: symbol
role_heading: Instance Method
path: createmlcomponents/numericimputer/maketransformer()
---

# makeTransformer()

Creates a default-initialized impute transformer suitable for incremental fitting.

## Declaration

```swift
func makeTransformer() -> NumericImputer<Element>.Transformer
```

## Discussion

Discussion note: You can’t use incremental fitting with an impute transformer when using the median strategy.
