Algorithm 1:
For each individual d ∈ [1,...,D]: |
a. Draw topic mixture proportions: θd ~ DirichletK(α), where α is a hyper-parameter. |
b. For each “word” n ∈ [1,...,Nd] within individual d: i. Draw a topic assignment: zd,n ~ Multinomial(θd). ii. Draw an image / genetic feature: wd,n ~ Multinomial(βzd,n). |
c. Draw the discrete response variable: where is the empirical frequencyvector of different topics in subject d, and μ is the classification weighting matrix to be estimated. |