Package: tidylda 0.0.5

Tommy Jones

tidylda: Latent Dirichlet Allocation Using 'tidyverse' Conventions

Implements an algorithm for Latent Dirichlet Allocation (LDA), Blei et at. (2003) <https://www.jmlr.org/papers/volume3/blei03a/blei03a.pdf>, using style conventions from the 'tidyverse', Wickham et al. (2019)<doi:10.21105/joss.01686>, and 'tidymodels', Kuhn et al.<https://tidymodels.github.io/model-implementation-principles/>. Fitting is done via collapsed Gibbs sampling. Also implements several novel features for LDA such as guided models and transfer learning based on ongoing and, as yet, unpublished research.

Authors:Tommy Jones [aut, cre], Brendan Knapp [ctb], Barum Park [ctb]

tidylda_0.0.5.tar.gz
tidylda_0.0.5.tar.gz(r-4.5-noble)tidylda_0.0.5.tar.gz(r-4.4-noble)
tidylda_0.0.5.tgz(r-4.4-emscripten)tidylda_0.0.5.tgz(r-4.3-emscripten)
tidylda.pdf |tidylda.html
tidylda/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/tommyjones/tidylda/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library
Datasets:
  • nih_sample - Abstracts and metadata from NIH research grants awarded in 2014
  • nih_sample_dtm - Abstracts and metadata from NIH research grants awarded in 2014

4.20 score 53 scripts 782 downloads 7 exports 33 dependencies

Last updated 6 months agofrom:25304ae546. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKSep 20 2024
R-4.5-linux-x86_64OKSep 20 2024

Exports:augmentcalc_prob_coherenceglanceposteriorrefittidytidylda

Dependencies:clicpp11dplyrfansigenericsgluegtoolsjaneaustenrlatticelifecyclemagrittrMatrixmvrsquaredpillarpkgconfigpurrrR6RcppRcppArmadilloRcppProgressRcppThreadrlangSnowballCstringistringrtibbletidyrtidyselecttidytexttokenizersutf8vctrswithr

Introduction to tidylda

Rendered fromtidylda-intro.Rmdusingknitr::rmarkdownon Sep 20 2024.

Last update: 2023-07-14
Started: 2023-07-14

Probabilistic Coherence

Rendered fromprobabilistic-coherence.Rmdusingknitr::rmarkdownon Sep 20 2024.

Last update: 2023-07-14
Started: 2023-07-14

Transfer Learning with LDA (tLDA)

Rendered fromtLDA.Rmdusingknitr::rmarkdownon Sep 20 2024.

Last update: 2023-07-14
Started: 2023-07-14