automatic scripting of machine learning tools