Probabilistic Learning From Longitudinal Data