---
title: "MLRegressor.boostedTree(_:)"
framework: createml
role: symbol
role_heading: Case
path: "createml/mlregressor/boostedtree(_:)"
---

# MLRegressor.boostedTree(_:)

A regressor based on a collection of decision trees combined with gradient boosting.

## Declaration

```swift
case boostedTree(MLBoostedTreeRegressor)
```

## Discussion

Discussion Don’t create an MLRegressor using one of its enumeration cases. Use the regressor’s initializer instead.

## See Also

### Regressor cases

- [MLRegressor.linear(_:)](createml/mlregressor/linear(_:).md)
- [MLRegressor.decisionTree(_:)](createml/mlregressor/decisiontree(_:).md)
- [MLRegressor.randomForest(_:)](createml/mlregressor/randomforest(_:).md)
