A generalized additive model approach to time-to-event analysis. (June 2018)