> I have only one question related to scikit-learn. > how to compute topic coherence of lda models in scikit-lean. I don't find > any function that calculate a coherence value. > please, reply me.
We don't have such a metric in scikit-learn. I assume you are referring to: http://svn.aksw.org/papers/2015/WSDM_Topic_Evaluation/public.pdf which is implemented in Gensim as: https://radimrehurek.com/gensim/models/coherencemodel.html If I understand correctly this metric needs to compute relative frequencies of occurrences and co-occurrences of words in the documents of the training set. This feels very domain specific compared to the more domain agnostic metrics that we have in scikit-learn. _______________________________________________ scikit-learn mailing list scikit-learn@python.org https://mail.python.org/mailman/listinfo/scikit-learn