naturale0/blog-comments

https://naturale0.github.io/2021/02/16/LDA-4-Gibbs-Sampling

Opened this issue · 1 comments

Understanding Latent Dirichlet Allocation (4) Gibbs Sampling | De Novo

In the last article, I explained LDA parameter inference using variational EM algorithm and implemented it from scratch. In this post, let’s take a look at a...

https://naturale0.github.io/2021/02/16/LDA-4-Gibbs-Sampling

I believe that there is an issue with the Gibbs fitting procedure here since you never re-increment the counter for the old topic assignments.