Deteksi Anomali dengan Python
Bekhruz (Bex) Tuychiev
Kaggle Master, Data Science Content Creator
Lakukan dua analisis: dengan dan tanpa outlier.
# Calculate the percentiles percentile_first = google['Volume'].quantile(0.01) percentile_99th = google['Volume'].quantile(0.99)# Trim google['Volume'] = google['Volume'].clip(percentile_first, percentile_99th)
google.replace(0, 100, inplace=True)
Deteksi Anomali dengan Python