This might be a really basic question, but I do not seem to find the answer.

In the original LDA algorithm by Blei, it is stated that the topics are drawn:

zn~Multinomial(theta)

theta~Dir(alpha)

In the multinomial distribution, it is usually needed a parameter n, n being the number of trials.

Is the number of trials the same as the number of topics, or pehaps the number of documents we used in the training

Thanks a lot

asked Jan 12 '11 at 03:46

Leon%20Palafox's gravatar image

Leon Palafox
31265471107


One Answer:

In the LDA description those multinomials have only one draw (so they're technically discrete or categorical distributions). The name multinomial was probably only used for ease of understanding.

answered Jan 12 '11 at 04:39

Alexandre%20Passos's gravatar image

Alexandre Passos ♦
1896744214334

OK, now my simulations make more sense.

Thanks

(Jan 12 '11 at 04:42) Leon Palafox
Your answer
toggle preview

powered by OSQA

User submitted content is under Creative Commons: Attribution - Share Alike; Other things copyright (C) 2010, MetaOptimize LLC.