iqr_outliers_range#
- iqr_outliers_range(data: ndarray, iqr_range: Tuple[int, int], scale: float, min_samples: int = 10) Tuple[float, float] [source]#
Calculate outliers range on the data given using IQR.
- Parameters
- data: np.ndarray
Data to calculate outliers range for.
- iqr_range: Tuple[int, int]
Two percentiles which define the IQR range
- scale: float
The scale to multiply the IQR range for the outliers detection
- min_samplesint, default: 10
Minimum number of samples needed to calculate outliers
- Returns
- ——-
- Tuple[float, float]
Tuple of lower limit and upper limit of outliers range