Previous week Up Next week


Here is the latest Caml Weekly News, for the week of April 05 to 12, 2011.

  1. mcmc-ocaml: A Library for Markov-Chain Monte Carlo Computations in OCaml
  2. OCaml/Xen google summer of code
  3. Other Caml News

mcmc-ocaml: A Library for Markov-Chain Monte Carlo Computations in OCaml


Will M Farr announced:
I'd like to announce mcmc-ocaml, a library for Markov-chain Monte
Carlo computations in OCaml. You can obtain the library from github at

It is released under the GPL, version 3.0. For more information on
MCMC, see .

Some highlights of the mcmc-ocaml library:

* mcmc-ocaml provides code to perform MCMC analysis in arbitrary
parameter spaces. Parameter values need not be numerical, but can
instead be any OCaml value: algebraic data types, classes, etc.

* mcmc-ocaml provides useful higher-order functions to combine
multiple jump proposals with arbitrary weights into a single proposal
for Metropolis-Hastings sampling, making it easy to have many special
jump proposals tuned to your specific parameter space structure.

* mcmc-ocaml provides code to read and write MCMC samples from/to
files; this can be combined with the library of statistical functions
or user-written code to perform post-processing of MCMC output either
in a stand-alone program or from the REPL.

* mcmc-ocaml provides many utility functions for performing model
selection via Reversible-Jump MCMC, either between two models or among
a larger set of models. This includes an implementation of the method
described in for facilitating
inter-model jumps by interpolating posteriors using single model
parameter samples.

* mcmc-ocaml provides several different algorithms for computing the
Bayesian evidence for a model using MCMC samples from its posterior
distribution, including the "direct integration" algorithms described
in .

* mcmc-ocaml comes with complete ocamldoc documentation for its
functions and types.

mcmc-ocaml is extensively tested, and has been used to constrain the
mass distribution of stellar-mass black holes in our galaxy
( ---including the 10-way RJMCMC
comparisons among the models in that paper), among other research
projects. Please direct bug reports, feature requests, and comments to
this address (w-farr AT

OCaml/Xen google summer of code


Anil Madhavapeddy announced: was accepted to the Google Summer of Code 2011, and I snuck in an 
OCaml-related project [1]. I haven't received any good applications for this, 
so if you are interested and eligible, I would encourage you to apply before 
the deadline tomorrow.  Please get in touch with me asap by email if you do 
plan to put a proposal in.

The SSL idea is just a template; pretty much anything interesting (especially 
profiling-related) to running OCaml "stub domains" on Xen would be relevant.



Other Caml News

From the ocamlcore planet blog:
Thanks to Alp Mestan, we now include in the Caml Weekly News the links to the
recent posts from the ocamlcore planet blog at

OCaml Bitcask:

OCaml is smarter than I thought:

Sebib 1.1.0 released:

SPL: Shakespeare Programming Language:

performances tweaking - dose3:

What does this function do?:

OCaml Meeting 2011, last day of registration:

Logic programming in Scala, part 1:

OCamlPro and the future of OCaml:

Old cwn

If you happen to miss a CWN, you can send me a message and I'll mail it to you, or go take a look at the archive or the RSS feed of the archives.

If you also wish to receive it every week by mail, you may subscribe online.

Alan Schmitt