Package: tidylda 0.0.7.999

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.

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

tidylda_0.0.7.999.tar.gz
tidylda_0.0.7.999.zip(r-4.7)tidylda_0.0.7.999.zip(r-4.6)tidylda_0.0.7.999.zip(r-4.5)
tidylda_0.0.7.999.tgz(r-4.6-x86_64)tidylda_0.0.7.999.tgz(r-4.6-arm64)tidylda_0.0.7.999.tgz(r-4.5-x86_64)tidylda_0.0.7.999.tgz(r-4.5-arm64)
tidylda_0.0.7.999.tar.gz(r-4.7-arm64)tidylda_0.0.7.999.tar.gz(r-4.7-x86_64)tidylda_0.0.7.999.tar.gz(r-4.6-arm64)tidylda_0.0.7.999.tar.gz(r-4.6-x86_64)
tidylda_0.0.7.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

6.53 score 42 stars 54 scripts 219 downloads 7 exports 32 dependencies

Last updated from:7d8780ad8b. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK233
linux-devel-x86_64OK187
source / vignettesOK267
linux-release-arm64OK180
linux-release-x86_64OK192
macos-release-arm64OK174
macos-release-x86_64OK552
macos-oldrel-arm64OK169
macos-oldrel-x86_64OK357
windows-develOK179
windows-releaseOK180
windows-oldrelOK172
wasm-releaseOK140

Exports:augmentcalc_prob_coherenceglanceposteriorrefittidytidylda

Dependencies:clicpp11dplyrgenericsgluegtoolsjaneaustenrlatticelifecyclemagrittrMatrixmvrsquaredpillarpkgconfigpurrrR6RcppRcppArmadilloRcppProgressRcppThreadrlangSnowballCstringistringrtibbletidyrtidyselecttidytexttokenizersutf8vctrswithr

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: 2024-07-03
Started: 2022-11-26

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

Last update: 2024-07-03
Started: 2022-11-26

Probabilistic Coherence

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