---
title: confusionDataFrame
framework: createml
role: symbol
role_heading: Instance Property
path: createml/mlwordtaggermetrics/confusiondataframe
---

# confusionDataFrame

A data frame comparing the actual and predicted labels for each class.

## Declaration

```swift
var confusionDataFrame: DataFrame { get }
```

## See Also

### Describing metrics

- [description](createml/mlwordtaggermetrics/description.md)
- [debugDescription](createml/mlwordtaggermetrics/debugdescription.md)
- [playgroundDescription](createml/mlwordtaggermetrics/playgrounddescription.md)
- [precisionRecallDataFrame](createml/mlwordtaggermetrics/precisionrecalldataframe.md)
