Implementation of Teh et al. (2005) Gibbs samplers for the Hierarchical Dirichelt Process