Using Machine Learning For Cyber Security