---
title: meanAveragePrecision
framework: createml
role: symbol
role_heading: Instance Property
path: createml/mlobjectdetectormetrics/meanaverageprecision
---

# meanAveragePrecision

Two mean-average precisions at different thresholds.

## Declaration

```swift
var meanAveragePrecision: (variedIoU: Double, IoU50: Double) { get }
```

## Parameters

- `variedIoU`: The mean of the average precision values across all classes at various thresholds, varying from 50% to 95%, of the intersection-over-union metric.
- `IoU50`: The mean of the average precision values across all classes at a 50% threshold of intersection-over-union metric.

## See Also

### Assessing the model

- [averagePrecision](createml/mlobjectdetectormetrics/averageprecision.md)
