Rilevamento delle anomalie in Python
Bekhruz (Bex) Tuychiev
Kaggle Master, Data Science Content Creator
Esegui due analisi: con e senza 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)
Rilevamento delle anomalie in Python