<!--
{
  "availability" : [
    "macOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CreateML",
  "identifier" : "/documentation/CreateML/MLObjectDetector/ModelParameters-swift.struct/ModelAlgorithmType",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Create ML",
      "CreateML"
    ],
    "preciseIdentifier" : "s:8CreateML16MLObjectDetectorV15ModelParametersV0E13AlgorithmTypeO"
  },
  "title" : "MLObjectDetector.ModelParameters.ModelAlgorithmType"
}
-->

# MLObjectDetector.ModelParameters.ModelAlgorithmType

An object-detector training algorithm.

```
enum ModelAlgorithmType
```

## Topics

### Designating an algorithm

[`case darknetYolo`](/documentation/CreateML/MLObjectDetector/ModelParameters-swift.struct/ModelAlgorithmType/darknetYolo)

An algorithm that trains a full neural network with your training data.

[`case transferLearning(MLObjectDetector.ModelParameters.FeatureExtractorType)`](/documentation/CreateML/MLObjectDetector/ModelParameters-swift.struct/ModelAlgorithmType/transferLearning(_:))

An algorithm that leverages the knowledge of a general purpose model built into the operating system.

[`enum FeatureExtractorType`](/documentation/CreateML/MLObjectDetector/ModelParameters-swift.struct/FeatureExtractorType)

The underlying base model that extracts image features for an object-detector training session.

### Comparing algorithms

[`static func == (MLObjectDetector.ModelParameters.ModelAlgorithmType, MLObjectDetector.ModelParameters.ModelAlgorithmType) -> Bool`](/documentation/CreateML/MLObjectDetector/ModelParameters-swift.struct/ModelAlgorithmType/==(_:_:))

Returns a Boolean value that indicates whether two algorithm are equal.

## Relationships

### Conforms To

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