PyMC grew out of, MCEx, an experimental package designed to be allow experimentation with MCMC package design. It's goal is to be simple to use, understand, extend and improve, while still being fast. The hope is that some of the lessons learned in this experimental package lead to improvements in PyMC. This branch is still experimental so people are encouraged to try out their own designs and improvements as well as make criticisms.
For a tutorial on basic inference, see tutorial.py in the examples folder.
Some design decisions
Design decision | Advantages | Disadvantages |
---|---|---|
Computational core outsourced to Theano |
|
|
Random variables, distributions, chains, chain history, and model all distinct |
|
|
Functional style design |
|
|
- Simplify standard usage.
- Build a GPU example
- Give sample a way of automatically choosing step methods.
- Do some profiling to see why likelihoods are slower in pymc3 than pymc
- Fix step_methods.gibbs.categorical so that it's faster, currently very slow.
- Implement a potential object which can take incomplete covariances and exploit the conditional independence of nodes to do the whole calculation
- Build examples showcasing different samplers
- Reconsider nphistory design
- missing value imputation
- Make HMC and related automatically choose a variance/covariance