Mimno, David et al. 2011. “Optimizing Semantic Coherence in Topic Models.” In Proceedings of the 2011 Conference on Empirical Methods in Natural Language Processing, Edinburgh, Scotland, UK.: Association for Computational Linguistics, 262–72. https://aclanthology.org/D11-1024.
semantic_coherence(x, docs, n = 10)
the output from a keyATM model (see keyATM()
).
texts read via keyATM_read()
.
integer. The number terms to visualize. Default is 10
.
A vector of topic coherence metric calculated by each topic.
Equation 1 of Mimno et al. 2011 adopted to keyATM.