datquocnguyen / LFTM

Improving topic models LDA and DMM (one-topic-per-document model for short texts) with word embeddings (TACL 2015)
Other
178 stars 59 forks source link

How to evaluate topic coherence? #7

Closed iwangjian closed 6 years ago

iwangjian commented 6 years ago

Hi, I'm a little confused about how to compute NPMI-score to evaluate topic coherence in your paper, is there any code to evaluate?

datquocnguyen commented 6 years ago

I did not backup my implementation for computing NPMI. But it is relatively straightforward to reimplement that. See my answer for: https://stats.stackexchange.com/questions/158790/topic-similarity-semantic-pmi-between-two-words-wikipedia