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).