---
title: "predictions(from:)"
framework: createml
role: symbol
role_heading: Instance Method
path: "createml/mlgazetteer/predictions(from:)-2jaui"
---

# predictions(from:)

Predicts the labels for the given terms in the table column.

## Declaration

```swift
func predictions(from texts: MLDataColumn<String>) throws -> MLDataColumn<String>
```

## Parameters

- `texts`: The column of terms.

## Return Value

Return Value A column of labels.

## See Also

### Testing a gazetteer

- [prediction(from:)](createml/mlgazetteer/prediction(from:).md)
- [predictions(from:)](createml/mlgazetteer/predictions(from:).md)
- [predictions(from:)](createml/mlgazetteer/predictions(from:)-2rej.md)
