Package: tidylda 0.1.1

Tommy Jones

tidylda: Latent Dirichlet Allocation Using 'tidyverse' Conventions

Implements an algorithm for Latent Dirichlet Allocation (LDA), Blei et al. (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 'warpLDA', a Metropolis-Hastings sampler, Chen et al. (2016) <doi:10.48550/arXiv.1510.08628>. Also implements several novel features for LDA such as guided models and transfer learning.

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

tidylda_0.1.1.tar.gz
tidylda_0.1.1.zip(r-4.7-x86_64)tidylda_0.1.1.zip(r-4.7-arm64)tidylda_0.1.1.zip(r-4.6-x86_64)tidylda_0.1.1.zip(r-4.6-arm64)
tidylda_0.1.1.tar.gz(r-4.7-arm64)tidylda_0.1.1.tar.gz(r-4.7-x86_64)tidylda_0.1.1.tar.gz(r-4.6-arm64)tidylda_0.1.1.tar.gz(r-4.6-x86_64)
tidylda_0.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
tidylda/json (API)

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

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

On CRAN:

Conda:

cppopenmp

4.41 score 57 scripts 636 downloads 7 exports 32 dependencies

Last updated from:b11df39313. Checks:10 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK181
linux-devel-x86_64OK173
source / vignettesOK255
linux-release-arm64OK178
linux-release-x86_64OK225
windows-devel-arm64OK295
windows-devel-x86_64OK200
windows-release-arm64OK287
windows-release-x86_64OK169
wasm-releaseOK142

Exports:augmentcalc_prob_coherenceglanceposteriorrefittidytidylda

Dependencies:clicpp11dplyrgenericsgluegtoolsjaneaustenrlatticelifecyclemagrittrMatrixmvrsquaredpillarpkgconfigpurrrR6RcppRcppArmadilloRcppProgressRcppThreadrlangSnowballCstringistringrtibbletidyrtidyselecttidytexttokenizersutf8vctrswithr

Introduction to tidylda
Introduction to the tidylda package | Tidy Methods | Other Notable Features | Discussion | Installation | Example

Last update: 2026-08-28
Started: 2023-07-14

Transfer Learning with LDA (tLDA)
Fine Tuning Latent Dirichlet Allocation for Transfer Learning | Contribution | tLDA | The Model | Selecting the prior weight | The tidylda Implementation of tLDA | Aligning Vocabulary | Adding New Topics | Initializing $\boldsymbol{Cd}^{(t)}$ and $\boldsymbol{Cv}^{(t)}$ | Partitioning the Posterior to Collapse $K$ Weights ($\omega_k$) Into One, $a$

Last update: 2026-08-28
Started: 2023-07-14

Probabilistic Coherence

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