Machine Learning Python Questions