---
title: "init(labels:annotationColumnName:featureColumnNames:configuration:)"
framework: createmlcomponents
role: symbol
role_heading: Initializer
path: "createmlcomponents/boostedtreeclassifier/init(labels:annotationcolumnname:featurecolumnnames:configuration:)"
---

# init(labels:annotationColumnName:featureColumnNames:configuration:)

Creates a boosted tree classifier.

## Declaration

```swift
init(labels: Set<Label?>, annotationColumnName: String, featureColumnNames: [String], configuration: BoostedTreeConfiguration = BoostedTreeConfiguration())
```

## Discussion

Discussion Parameters labels: The set of possible labels. annotationColumnName: The name of the column containing the ground truth labels. featureColumnNames: The names of the feature columns. configuration: The configuration.
