Machine Learning for Prediction in Electronic Health Data