machine learning scripts