pymc-devs/pymc — pull request #235 by fonnesbeck (2013-05-06 04:50:45+00:00)
Title: Added discrete variable support to Metropolis

`Metropolis` now supports discrete as well as continuous variables. Added a `BinaryMetropolis` for use with Bernoulli random variables. Updated `latent_occupancy` example to use `BinaryMetropolis`.