Research Article
[Retracted] Combining Latent Factor Model for Dynamic Recommendations in Community Question Answering Forums
Algorithm 1
Latent Dirichlet Allocation.
| | Input: A document vector w in a corpus D | | | Output: A probabilistic topic vector t for document | | | Procedure of LDA: | | (1) | Choose N ∼ Poisson (€) | | (2) | Choose θ ∼ Dir (α) | | (3) | For each word wi in wn: | | (a) | Choose topic zn ∼ Multinomial (θ) | | (b) | Choose a word wn from p(wn|zn, β) that is multinomial probability conditioned on the topic zn | | (c) | ti <- zn | | (4) | Return t |
|