A predictive study of Dirichlet process mixture models for curve fitting