In LDA, θ (d) and φ (z) are drawn from conjugate Dirichlet priors α and β, separately.
θ and φ are integrated out and the probability of word w given document d and priors is represented as follows: where K is the number of topics.