---
title: BoostedTreeClassifier
framework: createmlcomponents
role: symbol
role_heading: Structure
path: createmlcomponents/boostedtreeclassifier
---

# BoostedTreeClassifier

A gradient boosted decision tree classifier.

## Declaration

```swift
struct BoostedTreeClassifier<Label> where Label : Comparable, Label : Decodable, Label : Encodable, Label : Hashable
```

## Topics

### Creating a classifier

- [init(labels:annotationColumnName:featureColumnNames:configuration:)](createmlcomponents/boostedtreeclassifier/init(labels:annotationcolumnname:featurecolumnnames:configuration:).md)

### Getting the properties

- [annotationColumnID](createmlcomponents/boostedtreeclassifier/annotationcolumnid.md)
- [featureColumnNames](createmlcomponents/boostedtreeclassifier/featurecolumnnames.md)
- [configuration](createmlcomponents/boostedtreeclassifier/configuration.md)
- [labels](createmlcomponents/boostedtreeclassifier/labels.md)

### Fitting the classifier

- [fitted(to:validateOn:eventHandler:)](createmlcomponents/boostedtreeclassifier/fitted(to:validateon:eventhandler:).md)
- [BoostedTreeClassifier.Annotation](createmlcomponents/boostedtreeclassifier/annotation.md)
- [BoostedTreeClassifier.Transformer](createmlcomponents/boostedtreeclassifier/transformer.md)

### Encoding the classifier labels

- [encodeLabels(_:)](createmlcomponents/boostedtreeclassifier/encodelabels(_:).md)

### Default Implementations

- [UpdatableSupervisedTabularEstimator Implementations](createmlcomponents/boostedtreeclassifier/updatablesupervisedtabularestimator-implementations.md)

## Relationships

### Conforms To

- [Copyable](swift/copyable.md)
- [Escapable](swift/escapable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SupervisedTabularEstimator](createmlcomponents/supervisedtabularestimator.md)
- [UpdatableSupervisedTabularEstimator](createmlcomponents/updatablesupervisedtabularestimator.md)

## See Also

### Classifiers

- [Classifier](createmlcomponents/classifier.md)
- [LogisticRegressionClassifier](createmlcomponents/logisticregressionclassifier.md)
- [LogisticRegressionClassifierModel](createmlcomponents/logisticregressionclassifiermodel.md)
- [BoostedTreeConfiguration](createmlcomponents/boostedtreeconfiguration.md)
- [FullyConnectedNetworkClassifier](createmlcomponents/fullyconnectednetworkclassifier.md)
- [FullyConnectedNetworkClassifierModel](createmlcomponents/fullyconnectednetworkclassifiermodel.md)
- [FullyConnectedNetworkMultiLabelClassifier](createmlcomponents/fullyconnectednetworkmultilabelclassifier.md)
- [FullyConnectedNetworkMultiLabelClassifierModel](createmlcomponents/fullyconnectednetworkmultilabelclassifiermodel.md)
- [FullyConnectedNetworkConfiguration](createmlcomponents/fullyconnectednetworkconfiguration.md)
- [TreeClassifierModel](createmlcomponents/treeclassifiermodel.md)
- [TimeSeriesClassifier](createmlcomponents/timeseriesclassifier.md)
- [TimeSeriesClassifierConfiguration](createmlcomponents/timeseriesclassifierconfiguration.md)
