Giter VIP home page Giter VIP logo

lda.svi's Introduction

This is very experimental for now

lda.svi

This R package fits latent dirichlet allocation models to data using the stochastic variational inference method introduced in this paper by Matthew Hoffman and coauthors. This method purports to allow LDA models to be fit considerably faster, and using considerably less memory, than with the popular batch variational Bayes method. As far as I can tell this is the only R package implementing this method. The key functions are implemented in C++ for speed.

A somewhat more helpful reference for the method is this paper, which motivates the algorithms and places it in a broader context.

Non-R Dependencies

  • A C++ compiler supporting C++11.

Philosophy

The interface is designed with Hadley Wickham's tidy data principles in mind, and therefore fits in nicely with the tidytext package by Julia Silge and David Robinson, which I recommend for preprocessing text and postprocessing model output.

Installation

I intend to submit this to the CRAN soon, but in the meantime you can install it by running

#install.packages('devtools')
devtools::install_github("nerskin/lda.svi")

TODO:

lda.svi's People

Contributors

nerskin avatar

Watchers

 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.