Using Machine Learning For Anomaly Detection