<!--
{
  "availability" : [
    "macOS: 10.14.0 - 13.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "CreateML",
  "identifier" : "/documentation/CreateML/MLWordTagger/evaluation(on:tokenColumn:labelColumn:)-31x1l",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Create ML",
      "CreateML"
    ],
    "preciseIdentifier" : "s:8CreateML12MLWordTaggerV10evaluation2on11tokenColumn05labelH0AA0cD7MetricsVAA11MLDataTableV_S2StF"
  },
  "title" : "evaluation(on:tokenColumn:labelColumn:)"
}
-->

# evaluation(on:tokenColumn:labelColumn:)

Computes evaluation metrics.

```
func evaluation(on labeledTokens: MLDataTable, tokenColumn: String, labelColumn: String) -> MLWordTaggerMetrics
```

## Parameters

`labeledTokens`

A table containing tokens and labels.

`tokenColumn`

The name of the token column in the data frame.

`labelColumn`

The name of the label column in the data frame.

## Return Value

Word tagger metrics.

---

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)