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

# makeTransformer()

Creates a default-initialized transformer suitable for incremental fitting.

## Declaration

```swift
func makeTransformer() -> LinearRegressorModel<Scalar>
```
