Giter VIP home page Giter VIP logo

plda's Introduction

Parallelizable Markov Chain Monte Carlo Algorithms for the Latent Dirichlet Allocation Model

Clint P. George, Hani Doss

This R package, plda, implements the following Markov chain Monte Carlo (MCMC) algorithms for the latent Dirichlet allocation (LDA) model.

  1. Augmented Collapsed Gibbs Sampler (ACGS, Griffiths and Steyvers 2004, George and Doss 2015) algorithm

  2. Grouped Gibbs Sampler (GGS, Doss and George 2022) algorithm

  3. Partially Collapsed Gibbs Sampler (PCGS, Magnusson et al. 2018) algorithm

All three algorithms are implemented sequentially in this package. Algorithms GGS and PCGS are amenable to parallelization. For parallel implementations of GGS and PCGS, see LDAGroupedGibbsSampler.

For package documentation run

help("plda")

in the R console.

All major functions and datasets are documented and linked to the package index. Raw data files for each dataset are available in the data-raw folder. To load raw data see demo/load_raw_data.R.

References

Magnusson, M., Jonsson, L., Villani, M., & Broman, D. (2018). Sparse partially collapsed MCMC for parallel inference in topic models. Journal of Computational and Graphical Statistics, 27(2), 449-463.

Doss, H. and George, C. (2022). Theoretical and Empirical Evaluation of a Grouped Gibbs Sampler for Parallel Computation in the Latent Dirichlet Allocation Model. In preparation.

Griffiths, T. L., & Steyvers, M. (2004). Finding scientific topics. Proceedings of the National academy of Sciences, 101(suppl_1), 5228-5235.

Blei, D. M., Ng, A. Y., & Jordan, M. I. (2003). Latent Dirichlet allocation. Journal of machine Learning research, 3(Jan), 993-1022.

George, C. P. (2015). Latent Dirichlet Allocation: Hyperparameter Selection and Applications to Electronic Discovery. Ph.D. thesis, University of Florida.

plda's People

Contributors

clintpgeorge avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.