---
title: featureColumns
framework: createml
role: symbol
role_heading: Instance Property
path: createml/mlrandomforestregressor/featurecolumns
---

# featureColumns

The names of the columns you selected at initialization to train the regressor.

## Declaration

```swift
var featureColumns: [String]
```

## Discussion

Discussion Changing the value of this property doesn’t retrain the model or affect its behavior.

## See Also

### Training a random forest regressor synchronously

- [init(trainingData:targetColumn:featureColumns:parameters:)](createml/mlrandomforestregressor/init(trainingdata:targetcolumn:featurecolumns:parameters:).md)
- [targetColumn](createml/mlrandomforestregressor/targetcolumn.md)
