Outlyzer
1.0.0
Outlyzer เป็นไลบรารี Python ที่ให้วิธีการต่าง ๆ สำหรับการตรวจจับค่าผิดปกติในชุดข้อมูล มันรวมถึงการใช้วิธีระยะทาง Z-score, IQR และ Mahalanobis สำหรับการระบุค่าผิดปกติรวมถึงวิธีการที่ใช้การสร้างภาพโดยใช้แปลงกระจายพล็อตกล่องและการสร้างภาพประเภทอื่น ๆ
คุณสามารถติดตั้ง Outlyzer โดยใช้ PIP:
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).