Package: keyATM 0.5.2

Shusei Eshima

keyATM: Keyword Assisted Topic Models

Fits keyword assisted topic models (keyATM) using collapsed Gibbs samplers. The keyATM combines the latent dirichlet allocation (LDA) models with a small number of keywords selected by researchers in order to improve the interpretability and topic classification of the LDA. The keyATM can also incorporate covariates and directly model time trends. The keyATM is proposed in Eshima, Imai, and Sasaki (2024) <doi:10.1111/ajps.12779>.

Authors:Shusei Eshima [aut, cre], Tomoya Sasaki [aut], Kosuke Imai [aut], Chung-hong Chan [ctb], Romain François [ctb], William Lowe [ctb], Seo-young Silvia Kim [ctb]

keyATM_0.5.2.tar.gz
keyATM_0.5.2.zip(r-4.5)keyATM_0.5.2.zip(r-4.4)keyATM_0.5.2.zip(r-4.3)
keyATM_0.5.2.tgz(r-4.4-x86_64)keyATM_0.5.2.tgz(r-4.4-arm64)keyATM_0.5.2.tgz(r-4.3-x86_64)keyATM_0.5.2.tgz(r-4.3-arm64)
keyATM_0.5.2.tar.gz(r-4.5-noble)keyATM_0.5.2.tar.gz(r-4.4-noble)
keyATM_0.5.2.tgz(r-4.4-emscripten)keyATM_0.5.2.tgz(r-4.3-emscripten)
keyATM.pdf |keyATM.html
keyATM/json (API)
NEWS

# Install 'keyATM' in R:
install.packages('keyATM', repos = c('https://keyatm.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/keyatm/keyatm/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

latent-dirichlet-allocationnatural-language-processingpolitical-sciencercpprcppeigensocial-sciencetopic-models

6.59 score 102 stars 63 scripts 505 downloads 22 exports 59 dependencies

Last updated 7 months agofrom:022d7e40f2. Checks:OK: 7 NOTE: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 12 2024
R-4.5-win-x86_64NOTENov 12 2024
R-4.5-linux-x86_64NOTENov 12 2024
R-4.4-win-x86_64OKNov 12 2024
R-4.4-mac-x86_64OKNov 12 2024
R-4.4-mac-aarch64OKNov 12 2024
R-4.3-win-x86_64OKNov 12 2024
R-4.3-mac-x86_64OKNov 12 2024
R-4.3-mac-aarch64OKNov 12 2024

Exports:by_strata_DocTopicby_strata_TopicWordcovariates_getcovariates_infokeyATMkeyATM_readkeyATMvbmultiPGregplot_alphaplot_modelfitplot_piplot_timetrendplot_topicpropread_keywordssave_figsemantic_coherencetop_docstop_topicstop_wordsvalues_figvisualize_keywordsweightedLDA

Dependencies:clicodetoolscolorspacecpp11digestdplyrfansifarverfastmapfastmatchfsfuturefuture.applygenericsggplot2ggrepelglobalsgluegtableisobandISOcodesjsonlitelabelinglatticelifecyclelistenvmagrittrMASSMatrixmatrixNormalmgcvmunsellmvtnormnlmeparallellypgdrawpillarpkgconfigpurrrquantedaR6RColorBrewerRcppRcppEigenrlangscalesSnowballCstopwordsstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithrxml2yaml