Outlyzer
1.0.0
Outlyzer是一個Python庫,提供了用於檢測數據集中離群值的各種方法。它包括實現Z分數,IQR和Mahalanobis距離方法,用於識別異常值,以及使用散點圖,盒子圖和其他類型的可視化的基於可視化的方法。
您可以使用PIP安裝Outlyzer:
pip install outlyzer
用法:
- Import the desired method from the library, e.g.:
from Outlyzer.zscore import detect_outliers_zscore
from Outlyzer.iqr import detect_outliers_iqr
- Pass your dataset or data series to the respective function, e.g.:
outliers_zscore = detect_outliers_zscore(data)
outliers_iqr = detect_outliers_iqr(data)
The functions will return a boolean array indicating whether each data point is an outlier (True) or not (False).