Package: tidylda 0.0.5
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:
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')) |
Bug tracker:https://github.com/tommyjones/tidylda/issues
- 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
Last updated 7 months agofrom:25304ae546. Checks:OK: 2. Indexed: no.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 01 2024 |
R-4.5-linux-x86_64 | OK | Nov 01 2024 |
Exports:augmentcalc_prob_coherenceglanceposteriorrefittidytidylda
Dependencies:clicpp11dplyrfansigenericsgluegtoolsjaneaustenrlatticelifecyclemagrittrMatrixmvrsquaredpillarpkgconfigpurrrR6RcppRcppArmadilloRcppProgressRcppThreadrlangSnowballCstringistringrtibbletidyrtidyselecttidytexttokenizersutf8vctrswithr
Introduction to tidylda
Rendered fromtidylda-intro.Rmd
usingknitr::rmarkdown
on Nov 01 2024.Last update: 2023-07-14
Started: 2023-07-14
Probabilistic Coherence
Rendered fromprobabilistic-coherence.Rmd
usingknitr::rmarkdown
on Nov 01 2024.Last update: 2023-07-14
Started: 2023-07-14
Transfer Learning with LDA (tLDA)
Rendered fromtLDA.Rmd
usingknitr::rmarkdown
on Nov 01 2024.Last update: 2023-07-14
Started: 2023-07-14
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Augment method for 'tidylda' objects | augment.tidylda |
Probabilistic coherence of topics | calc_prob_coherence |
Glance method for 'tidylda' objects | glance.tidylda |
Abstracts and metadata from NIH research grants awarded in 2014 | nih nih_sample nih_sample_dtm |
Draw from the marginal posteriors of a tidylda topic model | posterior posterior.tidylda |
Get predictions from a Latent Dirichlet Allocation model | predict.tidylda |
Print Method for tidylda | print.tidylda |
Update a Latent Dirichlet Allocation topic model | refit.tidylda |
Tidy a matrix from a 'tidylda' topic model | tidy.matrix tidy.tidylda |
Fit a Latent Dirichlet Allocation topic model | tidylda |