R and Python machine learning predictive analytics