tillbe / lda-gibbs-toy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lda-gibbs-toy

This Python script replicates the toy example from Steyvers & Griffiths (2007) to infer the posterior distribution in LDA through Gibbs sampling. The Gibbs sampling algorithm was first applied to LDA by Griffiths & Steyvers (2004).

References

Griffiths, T. L., & Steyvers, M. (2004). Finding scientific topics. Proceedings of the National Academy of Sciences of the United States of America, 101 Suppl, 5228–5235. http://doi.org/10.1073/pnas.0307752101

Steyvers, M., & Griffiths, T. (2007). Probabilistic Topic Models. In T. K. Landauer, D. S. McNamara, S. Dennis, & W. Kintsch (Eds.), Handbook of Latent Semantic Analysis (pp. 427–448). Hillsdale, NJ: Lawrence Erlbaum.

About


Languages

Language:Jupyter Notebook 100.0%