For model inference, we use a straightforward Gibbs sampler based on the Chinese Restaurant Franchise (CRF) and the stick-breaking construction.
we begin with an analog of the CRF process for h-uHDP: a document   given the rest of the variables is: , ,   where e m  denotes the total number of tables in epoch e and { , } given a specified aspect k:   All the counts above except    , ,  x is assigned to aspect k. The base measure G 0 was set a symmetric Dirichlet distribution with parameters  (e.g.