<!--
{
  "availability" : [
    "macOS: 10.15.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CreateML",
  "identifier" : "/documentation/CreateML/MLVisualizable",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Create ML"
    ],
    "preciseIdentifier" : "s:8CreateML14MLVisualizableP"
  },
  "title" : "MLVisualizable"
}
-->

# MLVisualizable

An image visualization of machine learning types.

```
protocol MLVisualizable : CustomPlaygroundDisplayConvertible
```

## Topics

### Seeing the visualization

[`var cgImage: CGImage?`](/documentation/CreateML/MLVisualizable/cgImage)

The visualization for a machine learning type as an image.

## Relationships

### Inherited By

[`MLStreamingVisualizable`](/documentation/CreateML/MLStreamingVisualizable)

### Inherits From

[`CustomPlaygroundDisplayConvertible`](/documentation/Swift/CustomPlaygroundDisplayConvertible)

---

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)