Machine Learning Functions In Python 3