---
title: "init(quantileRange:)"
framework: createmlcomponents
role: symbol
role_heading: Initializer
path: "createmlcomponents/robustscaler/init(quantilerange:)"
---

# init(quantileRange:)

Creates a robust scaler.

## Declaration

```swift
init(quantileRange: ClosedRange<Element> = 0.25...0.75)
```

## Parameters

- `quantileRange`: This scaler removes the median and scales the data according to the quantile range.
