Database Machine Learning Algorithms Python