Machine Learning for Anomaly Detection