Code for MS Predictive Analytics Program