forcedotcom / distributions

Low-level primitives for collapsed Gibbs sampling in python and C++
BSD 3-Clause "New" or "Revised" License
33 stars 25 forks source link

Implement dbg and lp flavors of beta-Bernoulli component model #3

Closed fritzo closed 10 years ago

fritzo commented 10 years ago

A C++ implementation of template<> ADD<2> can be found at https://github.com/priorknowledge/tardis/blob/b5ef6cf4/util/compmodels.h#L396 A python implementation of beta-bernoulli can be found at https://github.com/forcedotcom/distributions/blob/de5876fe/distributions/conjugate/bb.py