The mcmc-samplers package

[Tags:bsd3, library]

A library of combinators to build transition kernels, proposal distributions, target distributions, and stream operations for MCMC sampling.

[Skip to Readme]


Dependencies base (>=4.6 && <5), containers (==0.5.*), hakaru (==0.1.4), hmatrix (>=0.15), mwc-random (==0.13.*), primitive (==0.5.*), statistics (>=0.11) [details]
License BSD3
Author Praveen Narayanan
Category Machine Learning, Math, Numeric, Statistics
Uploaded Mon Nov 10 17:11:22 UTC 2014 by pravnar
Distributions NixOS:
Downloads 562 total (15 in the last 30 days)
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees

Readme for mcmc-samplers

Readme for mcmc-samplers-


Here lies a library of combinators for MCMC kernels and proposals

  • The relevant modules are Kernels, Distributions, and Actions
  • See Tests.hs for some examples on how this library can be used
  • Needs the hmatrix package
    • Might need to do cabal install hmatrix
On Gibbs.hs
  • The current implementation is for a Naive Bayes model
  • TODO:
    • Use an existing, "real" dataset instead of randomly generating sentences
    • See which words appear most frequently for each label/class
    • Average over all theta estimates and return top 10 and bottom 10 words according to these averages
    • Implement burn-in and lag (to decrease autocorrelation)