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

# VNClassificationObservation

An object that represents classification information that an image-analysis request produces.

```
class VNClassificationObservation
```

## Overview

This type of observation results from performing a [`VNCoreMLRequest`](/documentation/Vision/VNCoreMLRequest) image analysis with a Core ML model whose role is classification (rather than prediction or image-to-image processing). Vision infers that an <doc://com.apple.documentation/documentation/CoreML/MLModel> object is a classifier model if that model predicts a single feature. That is, the model’s <doc://com.apple.documentation/documentation/CoreML/MLModel/modelDescription> object has a non-`nil` value for its <doc://com.apple.documentation/documentation/CoreML/MLModelDescription/predictedFeatureName> property.

## Topics

### Determining Classification

[`identifier`](/documentation/Vision/VNClassificationObservation/identifier)

Classification label identifying the type of observation.

### Measuring Confidence and Precision

[`hasPrecisionRecallCurve`](/documentation/Vision/VNClassificationObservation/hasPrecisionRecallCurve)

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

[`hasMinimumPrecision(_:forRecall:)`](/documentation/Vision/VNClassificationObservation/hasMinimumPrecision(_:forRecall:))

Determines whether the observation for a specific recall has a minimum precision value.

[`hasMinimumRecall(_:forPrecision:)`](/documentation/Vision/VNClassificationObservation/hasMinimumRecall(_:forPrecision:))

Determines whether the observation for a specific precision has a minimum recall value.



---

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)