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

# makeTransformer()

Creates a default-initialized transformer suitable for incremental fitting.

## Declaration

```swift
func makeTransformer() -> TreeRegressorModel
```
