Package: topicdoc 0.1.1.9000
Doug Friedman
topicdoc: Topic-Specific Diagnostics for LDA and CTM Topic Models
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>.
Authors:
topicdoc_0.1.1.9000.tar.gz
topicdoc_0.1.1.9000.zip(r-4.5)topicdoc_0.1.1.9000.zip(r-4.4)topicdoc_0.1.1.9000.zip(r-4.3)
topicdoc_0.1.1.9000.tgz(r-4.4-any)topicdoc_0.1.1.9000.tgz(r-4.3-any)
topicdoc_0.1.1.9000.tar.gz(r-4.5-noble)topicdoc_0.1.1.9000.tar.gz(r-4.4-noble)
topicdoc_0.1.1.9000.tgz(r-4.4-emscripten)topicdoc_0.1.1.9000.tgz(r-4.3-emscripten)
topicdoc.pdf |topicdoc.html✨
topicdoc/json (API)
NEWS
# Install 'topicdoc' in R: |
install.packages('topicdoc', repos = c('https://doug-friedman.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/doug-friedman/topicdoc/issues
natural-language-processingtext-miningtopic-modelingtopic-modellingtopic-models
Last updated 2 years agofrom:29e2a05a57. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 01 2024 |
R-4.5-win | OK | Nov 01 2024 |
R-4.5-linux | OK | Nov 01 2024 |
R-4.4-win | OK | Nov 01 2024 |
R-4.4-mac | OK | Nov 01 2024 |
R-4.3-win | OK | Nov 01 2024 |
R-4.3-mac | OK | Nov 01 2024 |
Exports:dist_from_corpusdoc_prominencemean_token_lengthtf_df_disttopic_coherencetopic_diagnosticstopic_exclusivitytopic_size
Dependencies:BHclimodeltoolsNLPRcpprlangslamtmtopicmodelsxml2
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Calculate the distance of each topic from the overall corpus token distribution | dist_from_corpus |
Calculate the document prominence of each topic in a topic model | doc_prominence |
Calculate the average token length for each topic in a topic model | mean_token_length |
Calculate the distance between token and document frequencies | tf_df_dist |
Calculate the topic coherence for each topic in a topic model | topic_coherence |
Calculate diagnostics for each topic in a topic model | topic_diagnostics |
Calculate the exclusivity of each topic in a topic model | topic_exclusivity |
Calculate the size of each topic in a topic model | topic_size |