Adds machine learning functions and scripts.