Machine Learning For Code Automation