A predictive model and algorithm forecasting time to outcomes in Alzheimer's disease patients