Predictive modeling using R and Python