<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CreateML",
  "identifier" : "/documentation/CreateML/MLSoundClassifier/ModelParameters-swift.struct/ClassifierType",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Create ML",
      "CreateML"
    ],
    "preciseIdentifier" : "s:8CreateML17MLSoundClassifierV15ModelParametersV0D4TypeO"
  },
  "title" : "MLSoundClassifier.ModelParameters.ClassifierType"
}
-->

# MLSoundClassifier.ModelParameters.ClassifierType

The classifier options for a sound classifier training algorithm.

```
enum ClassifierType
```

## Topics

### Designating an algorithm’s classifier

[`case logisticRegressor`](/documentation/CreateML/MLSoundClassifier/ModelParameters-swift.struct/ClassifierType/logisticRegressor)

A statistical model that uses logistic regression to classify an input vector into a category.

[`case multilayerPerceptron(layerSizes: [Int])`](/documentation/CreateML/MLSoundClassifier/ModelParameters-swift.struct/ClassifierType/multilayerPerceptron(layerSizes:))

A neural network model that uses three or more layers to classify an input into a category.

### Describing a classifier type

[`var description: String`](/documentation/CreateML/MLSoundClassifier/ModelParameters-swift.struct/ClassifierType/description)

A text representation of the classifier type.

## Relationships

### Conforms To

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

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

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

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

[`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)