Machine Learning Libraries For Python Loop