<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CreateMLComponents",
  "identifier" : "/documentation/CreateMLComponents/MLModelClassifierAdaptor/Label",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Create ML Components"
    ],
    "preciseIdentifier" : "s:18CreateMLComponents24MLModelClassifierAdaptorV5LabelO"
  },
  "title" : "MLModelClassifierAdaptor.Label"
}
-->

# MLModelClassifierAdaptor.Label

The classifier label type.

```
enum Label
```

## Topics

### Label types

[`case int(Int)`](/documentation/CreateMLComponents/MLModelClassifierAdaptor/Label/int(_:))

The label is integer type.

[`case string(String)`](/documentation/CreateMLComponents/MLModelClassifierAdaptor/Label/string(_:))

The label is string type.

### Default Implementations

[CustomDebugStringConvertible Implementations](/documentation/CreateMLComponents/MLModelClassifierAdaptor/Label/CustomDebugStringConvertible-Implementations)

[ExpressibleByIntegerLiteral Implementations](/documentation/CreateMLComponents/MLModelClassifierAdaptor/Label/ExpressibleByIntegerLiteral-Implementations)

[ExpressibleByStringLiteral Implementations](/documentation/CreateMLComponents/MLModelClassifierAdaptor/Label/ExpressibleByStringLiteral-Implementations)

## Relationships

### Conforms To

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

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

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

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

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

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

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

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

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

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

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

---

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)