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

# averagePrecision

Two dictionaries of average precisions at different thresholds.

```
var averagePrecision: (variedIoU: [String : Double], IoU50: [String : Double]) { get }
```

## Parameters

`variedIoU`

The average precision values of all classes at various thresholds, varying from 50% to 95%, for
the intersection-over-union metric. The keys of the dictionary are each object’s label.

`IoU50`

The average precision values of all classes at a 50% threshold of intersection-over-union metric.
The keys of the dictionary are each object’s label.

---

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)