---
title: "init(overlapFactor:featureExtractor:)"
framework: createml
role: symbol
role_heading: Initializer
path: "createml/mlsoundclassifier/featureextractionparameters/init(overlapfactor:featureextractor:)"
---

# init(overlapFactor:featureExtractor:)

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

## Declaration

```swift
init(overlapFactor: Double = __Defaults.overlapFactor, featureExtractor: MLSoundClassifier.ModelParameters.FeatureExtractorType = __Defaults.featureExtractor)
```

## Parameters

- `overlapFactor`: A portion of overlap between consecutive audio analysis windows. The value must be in the range [0.0, 1.0).
- `featureExtractor`: An algorithm type the session uses to extract features from audio files.

## Discussion

Discussion The initializer sets featureExtractionTimeWindowSize to a default value.

## See Also

### Creating feature extraction parameters

- [init(overlapFactor:featureExtractor:featureExtractionTimeWindowSize:)](createml/mlsoundclassifier/featureextractionparameters/init(overlapfactor:featureextractor:featureextractiontimewindowsize:).md)
