Common Machine Learning Python Code