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

# defaultConfidenceThreshold

The default confidence threshold. It is used as the confidence threshold for any label which does not have an explicit confidence threshold, while calculating averagePrecision and meanAveragePrecision.

## Declaration

```swift
var defaultConfidenceThreshold: Float
```

## See Also

### Getting the properties Properties

- [labels](createmlcomponents/objectdetectionmetrics/labels.md)
