Machine learning made easy for optimizing chemical reactions