Nonlinear nonparametric mixed-effects models for unsupervised classification