The Dirichlet process as a predictive distribution