sharp_drop_outliers_range#
- sharp_drop_outliers_range(data_percents: Sequence, sharp_drop_ratio: float = 0.9, max_outlier_percentage: float = 0.05) → Optional[float][source]#
Calculate outliers range on the data given using sharp drop.
- Parameters
- data_percentsnp.ndarray
Counts of data to calculate outliers range for. The data is assumed to be sorted from the most common to the least common.
- sharp_drop_ratiofloat , default 0.9
The sharp drop threshold to use for the outliers detection.
- max_outlier_percentagefloat , default 0.05
The maximum percentage of data that can be considered as “outliers”.