lda - Collapsed Gibbs Sampling Methods for Topic Models
Implements latent Dirichlet allocation (LDA) and related models. This includes (but is not limited to) sLDA, corrLDA, and the mixed-membership stochastic blockmodel. Inference for all of these models is implemented via a fast collapsed Gibbs sampler written in C. Utility functions for reading/writing data typically used in topic models, as well as tools for examining posterior distributions are also included.
Last updated
7.78 score 11 dependents 604 scripts 6.0k downloadspoisbinom - A Faster Implementation of the Poisson-Binomial Distribution
Provides the probability, distribution, and quantile functions and random number generator for the Poisson-Binomial distribution. This package relies on FFTW to implement the discrete Fourier transform, so that it is much faster than the existing implementation of the same algorithm in R.
Last updated
fftw3cpp
4.62 score 3 stars 3 dependents 31 scripts 605 downloadsi3pack - Incentives for Inter- And Intra-Party Electoral Competition
Suite of functions that help simulate elections under different electoral systems, which are then used to compute incentives generated by these systems in terms of the inter- and intra-party dimensions of electoral competition.
Last updated
1.70 score 169 downloads