Machine Learning for Host-based Anomaly Detection