PyMC v3.2 Release Notes

Release Date: 2017-10-10 // over 6 years ago
  • πŸ†• New features

    This version includes two major contributions from our Google Summer of Code 2017 students:

    • πŸ”¨ Maxim Kochurov extended and refactored the variational inference module. This primarily adds two important classes, representing operator variational inference (OPVI) objects and Approximation objects. These make it easier to extend existing variational classes, and to derive inference from variational optimizations, respectively. The variational module now also includes normalizing flows (NFVI).
    • πŸ“œ Bill Engels added an extensive new Gaussian processes (gp) module. Standard GPs can be specified using either Latent or Marginal classes, depending on the nature of the underlying function. A Student-T process TP has been added. In order to accomodate larger datasets, approximate marginal Gaussian processes (MarginalSparse) have been added.

    πŸ“š Documentation has been improved as the result of the project's monthly "docathons".

    An experimental stochastic gradient Fisher scoring (SGFS) sampling step method has been added.

    The API for find_MAP was enhanced.

    SMC now estimates the marginal likelihood.

    βž• Added Logistic and HalfFlat distributions to set of continuous distributions.

    Bayesian fraction of missing information (bfmi) function added to stats.

    ✨ Enhancements to compareplot added.

    QuadPotential adaptation has been implemented.

    πŸ“š Script added to build and deploy documentation.

    MAP estimates now available for transformed and non-transformed variables.

    🚚 The Constant variable class has been deprecated, and will be removed in 3.3.

    DIC and BPIC calculations have been sped up.

    Arrays are now accepted as arguments for the Bound class.

    random method was added to the Wishart and LKJCorr distributions.

    Progress bars have been added to LOO and WAIC calculations.

    ⚑️ All example notebooks updated to reflect changes in API since 3.1.

    πŸ”¨ Parts of the test suite have been refactored.

    πŸ›  Fixes

    πŸ›  Fixed sampler stats error in NUTS for non-RAM backends

    Matplotlib is no longer a hard dependency, making it easier to use in settings where installing Matplotlib is problematic. PyMC3 will only complain if plotting is attempted.

    πŸ›  Several bugs in the Gaussian process covariance were fixed.

    All chains are now used to calculate WAIC and LOO.

    πŸ›  AR(1) log-likelihood function has been fixed.

    πŸ›  Slice sampler fixed to sample from 1D conditionals.

    πŸ›  Several docstring fixes.

    Contributors

    πŸš€ The following people contributed to this release (ordered by number of commits):

    Maxim Kochurov [email protected] Bill Engels [email protected] Chris Fonnesbeck [email protected] Junpeng Lao [email protected] Adrian Seyboldt [email protected] AustinRochford [email protected] Osvaldo Martin [email protected] Colin Carroll [email protected] Hannes Vasyura-Bathke [email protected] Thomas Wiecki [email protected] michaelosthege [email protected] Marco De Nadai [email protected] Kyle Beauchamp [email protected] Massimo [email protected] ctm22396 [email protected] Max Horn [email protected] Hennadii Madan [email protected] Hassan Naseri [email protected] Peadar Coyle [email protected] Saurav R. Tuladhar [email protected] Shashank Shekhar [email protected] Eric Ma [email protected] Ed Herbst [email protected] tsdlovell [email protected] zaxtax [email protected] Dan Nichol [email protected] Benjamin Yetton [email protected] jackhansom [email protected] Jack Tsai [email protected] AndrΓ©s Asensio Ramos [email protected]