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.7)topicdoc_0.1.1.9000.zip(r-4.6)topicdoc_0.1.1.9000.zip(r-4.5)
topicdoc_0.1.1.9000.tgz(r-4.6-any)topicdoc_0.1.1.9000.tgz(r-4.5-any)
topicdoc_0.1.1.9000.tar.gz(r-4.7-any)topicdoc_0.1.1.9000.tar.gz(r-4.6-any)
topicdoc_0.1.1.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
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 from:29e2a05a57. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 155 | ||
| source / vignettes | OK | 230 | ||
| linux-release-x86_64 | OK | 135 | ||
| macos-release-arm64 | OK | 142 | ||
| macos-oldrel-arm64 | OK | 224 | ||
| windows-devel | OK | 114 | ||
| windows-release | OK | 138 | ||
| windows-oldrel | OK | 118 | ||
| wasm-release | OK | 128 |
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 |