cemoody / lda2vec

MIT License
3.15k stars 628 forks source link

Strength of the dirichlet prior #58

Closed TropComplique closed 7 years ago

TropComplique commented 7 years ago

Hi! In file examples/twenty_newsgroups/lda2vec/lda2vec_run.py hyperparameter clambda = 200.0 is never used, I believe. I think strength of the dirichlet prior is actually 1.0 there.

ghost commented 5 years ago

How did you solve this? It seems to be -1.0 instead of 1.0 according to here: https://github.com/cemoody/lda2vec/blob/b7f4642b750c6e792c07d177bd57ad36e65bb35c/lda2vec/dirichlet_likelihood.py#L34