Machine Learning Methods for Longitudinal Data Prediction