A Bayesian nonparametric model for classification of longitudinal profiles. (23rd July 2021)