<!--
{
  "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/FeatureExtractionParameters",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Create ML",
      "CreateML"
    ],
    "preciseIdentifier" : "s:8CreateML17MLSoundClassifierV27FeatureExtractionParametersV"
  },
  "title" : "MLSoundClassifier.FeatureExtractionParameters"
}
-->

# MLSoundClassifier.FeatureExtractionParameters

Parameters that affect the process of extracting sound features from audio files.

```
struct FeatureExtractionParameters
```

## Topics

### Creating feature extraction parameters

[`init(overlapFactor: Double, featureExtractor: MLSoundClassifier.ModelParameters.FeatureExtractorType, featureExtractionTimeWindowSize: TimeInterval?)`](/documentation/CreateML/MLSoundClassifier/FeatureExtractionParameters/init(overlapFactor:featureExtractor:featureExtractionTimeWindowSize:))

Creates the parameters for a feature-extraction session.

[`init(overlapFactor: Double, featureExtractor: MLSoundClassifier.ModelParameters.FeatureExtractorType)`](/documentation/CreateML/MLSoundClassifier/FeatureExtractionParameters/init(overlapFactor:featureExtractor:))

Creates the parameters for a feature-extraction session with a default time window size.

### Accessing feature extraction parameters

[`var overlapFactor: Double`](/documentation/CreateML/MLSoundClassifier/FeatureExtractionParameters/overlapFactor)

The proportion of overlap that the feature-extraction session uses to analyze two consecutive windows in
the audio data.

[`var featureExtractor: MLSoundClassifier.ModelParameters.FeatureExtractorType`](/documentation/CreateML/MLSoundClassifier/FeatureExtractionParameters/featureExtractor)

The algorithm type the session uses to extract features from audio files.

[`var featureExtractionTimeWindowSize: TimeInterval`](/documentation/CreateML/MLSoundClassifier/FeatureExtractionParameters/featureExtractionTimeWindowSize)

A time duration, in seconds, that determines how much audio data the feature-extraction session reads each
time it samples an audio file.

## Relationships

### Conforms To

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

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

---

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)