<!--
{
  "availability" : [
    "macOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CreateML",
  "identifier" : "/documentation/CreateML/MLActionClassifier/evaluation(on:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Create ML"
    ],
    "preciseIdentifier" : "s:8CreateML18MLActionClassifierV10evaluation2onAA19MLClassifierMetricsVAC10DataSourceO_tKF"
  },
  "title" : "evaluation(on:)"
}
-->

# evaluation(on:)

Generates metrics describing the action classifier’s performance on
labeled videos represented by a data source.

```
func evaluation(on annotatedVideos: MLActionClassifier.DataSource) throws -> MLClassifierMetrics
```

## Parameters

`annotatedVideos`

A collection of labeled videos represented by a data source.

---

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)