Topic-Specific Diagnostics for LDA and CTM Topic Models
Helper function for calculating coherence for a single topic's worth o...
Helper function to check that a topic model and a dtm contain the same...
Calculate the distance of each topic from the overall corpus token dis...
Calculate the document prominence of each topic in a topic model
Calculate the average token length for each topic in a topic model
Helper function to determine the number of topics in a topic model
Calculate the distance between token and document frequencies
Helper function to calculate the Hellinger distance between the token ...
Calculate the topic coherence for each topic in a topic model
Calculate diagnostics for each topic in a topic model
Calculate the exclusivity of each topic in a topic model
Calculate the size of each topic in a topic model
Calculates topic-specific diagnostics (e.g. mean token length, exclusivity) for Latent Dirichlet Allocation and Correlated Topic Models fit using the 'topicmodels' package. For more details, see Chapter 12 in Airoldi et al. (2014, ISBN:9781466504080), pp 262-272 Mimno et al. (2011, ISBN:9781937284114), and Bischof et al. (2014) <arXiv:1206.4631v1>.
Useful links