Python Anomaly Detection Example