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

# MLClassifier.boostedTree(_:)

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

```
case boostedTree(MLBoostedTreeClassifier)
```

## Discussion

Don’t create an [`MLClassifier`](/documentation/CreateML/MLClassifier) using one of its enumeration cases. Use the classifier’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)