<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Vision",
  "identifier" : "/documentation/Vision/VNClassificationObservation/hasPrecisionRecallCurve",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Vision"
    ],
    "preciseIdentifier" : "c:objc(cs)VNClassificationObservation(py)hasPrecisionRecallCurve"
  },
  "title" : "hasPrecisionRecallCurve"
}
-->

# hasPrecisionRecallCurve

A Boolean variable indicating whether the observation contains precision and recall curves.

```
var hasPrecisionRecallCurve: Bool { get }
```

## Discussion

Precision refers to the percentage of your classification results that are relevant, while recall refers to the percentage of total relevant results correctly classified.

If this property is <doc://com.apple.documentation/documentation/Swift/true>, then you can call precision and recall-related methods in this observation. If this property is <doc://com.apple.documentation/documentation/Swift/false>, then the  precision and recall-related methods won’t return meaningful data.

---

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)