Package: tidylda 0.1.1.999

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.999.tar.gz
tidylda_0.1.1.999.zip(r-4.7-x86_64)tidylda_0.1.1.999.zip(r-4.7-arm64)tidylda_0.1.1.999.zip(r-4.6-x86_64)tidylda_0.1.1.999.zip(r-4.6-arm64)tidylda_0.1.1.999.zip(r-4.5-x86_64)
tidylda_0.1.1.999.tgz(r-4.6-x86_64)tidylda_0.1.1.999.tgz(r-4.6-arm64)tidylda_0.1.1.999.tgz(r-4.5-x86_64)tidylda_0.1.1.999.tgz(r-4.5-arm64)
tidylda_0.1.1.999.tar.gz(r-4.7-arm64)tidylda_0.1.1.999.tar.gz(r-4.7-x86_64)tidylda_0.1.1.999.tar.gz(r-4.6-arm64)tidylda_0.1.1.999.tar.gz(r-4.6-x86_64)
tidylda_0.1.1.999.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://tommyjones.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

7.15 score 41 stars 57 scripts 636 downloads 7 exports 32 dependencies

Last updated from:92296240af. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK174
linux-devel-x86_64OK215
source / vignettesOK229
linux-release-arm64OK143
linux-release-x86_64OK202
macos-release-arm64OK193
macos-release-x86_64OK315
macos-oldrel-arm64OK110
macos-oldrel-x86_64OK517
windows-devel-arm64OK400
windows-devel-x86_64OK221
windows-release-arm64OK390
windows-release-x86_64OK167
windows-oldrel-x86_64OK163
wasm-releaseOK149

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-24
Started: 2022-11-26

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-24
Started: 2022-11-26

Probabilistic Coherence

Last update: 2023-07-14
Started: 2022-11-26