MDPolya Functions for sampling the marginal Mixture of Dirichlet Process model and recovering the marginalized uncertainty via a Polya compleiton scheme. To use, clone the repository and source MDPolya.R in your R session.