Batch anomalies and local anomaly detector

typo: ran -> run