---
title: labels
framework: createmlcomponents
role: symbol
role_heading: Instance Property
path: createmlcomponents/objectdetectionmetrics/labels
---

# labels

A set of labels present in the dataset.

## Declaration

```swift
var labels: Set<Label>
```

## See Also

### Getting the properties Properties

- [defaultConfidenceThreshold](createmlcomponents/objectdetectionmetrics/defaultconfidencethreshold.md)
