Automation and machine learning