<!--
{
  "availability" : [
    "macOS: 10.15.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CreateML",
  "identifier" : "/documentation/CreateML/MLObjectDetectorMetrics/meanAveragePrecision",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Create ML"
    ],
    "preciseIdentifier" : "s:8CreateML23MLObjectDetectorMetricsV20meanAveragePrecisionSd9variedIoU_Sd0J3U50tvp"
  },
  "title" : "meanAveragePrecision"
}
-->

# meanAveragePrecision

Two mean-average precisions at different thresholds.

```
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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)