<!--
{
  "availability" : [
    "macOS: 10.14.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CreateML",
  "identifier" : "/documentation/CreateML/MLRegressor/boostedTree(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "Create ML"
    ],
    "preciseIdentifier" : "s:8CreateML11MLRegressorO11boostedTreeyAcA09MLBoostedE9RegressorVcACmF"
  },
  "title" : "MLRegressor.boostedTree(_:)"
}
-->

# MLRegressor.boostedTree(_:)

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

```
case boostedTree(MLBoostedTreeRegressor)
```

## Discussion

Don’t create an [`MLRegressor`](/documentation/CreateML/MLRegressor) using one of its enumeration cases. Use the regressor’s initializer instead.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)