What is the log base of LDA log_perplexity?

242 views
Skip to first unread message

Julian Serban

unread,
May 21, 2015, 9:58:21 PM5/21/15
to gen...@googlegroups.com
I need to compare an LDA model to another language model.

Shifting through the source code for LDA, I noticed that all the logarithms used are natural logarithms (numpy.log), yet the documentation says that the perplexity is computed as 2^(-bound). This seems contradicting to me. If the bound is computed in natural logarithm, then the perplexity should be exp(-bound)...

- Julian
Reply all
Reply to author
Forward
0 new messages