github tensorflow/probability v0.12.1
TensorFlow Probability 0.12.1

latest releases: v0.24.0, v0.23.0, v0.22.1...
3 years ago

Release notes

This is the 0.12.1 release of TensorFlow Probability. It is tested and stable against TensorFlow version 2.4.0.

Change notes

NOTE: Links point to examples in the TFP 0.12.1 release Colab.

Bijectors:

Distributions:

MCMC:

  • Add tfp.experimental.mcmc.ProgressBarReducer.
  • Update experimental.mcmc.sample_sequential_monte_carlo to use new MCMC stateless kernel API.
  • Add an experimental streaming MCMC framework that supports computing statistics over a (batch of) Markov chain(s) without materializing the samples. Statistics supported (mostly on arbitrary functions of the model variables): mean, (co)variance, central moments of arbitrary rank, and the potential scale reduction factor (R-hat). Also support selectively tracing history of some but not all statistics or model variables. Add algorithms for running mean, variance, covariance, arbitrary higher central moments, and potential scale reduction factor (R-hat) totfp.experimental.stats.
  • untempered_log_prob_fn added as init kwarg to ReplicaExchangeMC Kernel.
  • Add experimental support for mass matrix preconditioning in Hamiltonian Monte Carlo.
  • Add ability to temper part of the log prob in ReplicaExchangeMC.
  • tfp.experimental.mcmc.{sample_fold,sample_chain} support warm restart.
  • even_odd_swap exchange function added to replica_exchange_mc.
  • Samples from ReplicaExchangeMC can now have a per-replica initial state.
  • Add omitted n/(n-1) term to tfp.mcmc.potential_scale_reduction_factor.
  • Add KernelBuilder and KernelOutputs to experimental.
  • Allow tfp.mcmc.SimpleStepSizeAdaptation and DualAveragingStepSizeAdaptation to take a custom reduction function.
  • Replace make_innermost_getter et al. with tfp.experimental.unnest utilities.

VI:

Math + Stats:

Other:

  • Add tfp.math.psd_kernels.GeneralizedMaternKernel (generalizes MaternOneHalf, MaternThreeHalves and MaternFiveHalves).
  • Add tfp.math.psd_kernels.Parabolic.
  • Add tfp.experimental.unnest utilities for accessing nested attributes.
  • Enable pytree flattening for TFP distributions in JAX
  • More careful handling of nan and +-inf in {L-,}BFGS.
  • Remove Edward2 from TFP. Edward2 is now in its own repo at https://github.com/google/edward2 .
  • Support vector-valued offsets in sts.Sum.
  • Make DeferredTensor actually defer computation under JAX/NumPy backends.

Huge thanks to all the contributors to this release!

  • Adrian Buzea
  • Alexey Radul
  • Ben Lee
  • Ben Poole
  • Brian Patton
  • Christopher Suter
  • Colin Carroll
  • Cyril Chimisov
  • Dave Moore
  • Du Phan
  • Emily Fertig
  • Eugene Brevdo
  • Federico Tomasi
  • François Chollet
  • George Karpenkov
  • Giovanni Palla
  • Ian Langmore
  • Jacob Burnim
  • Jacob Valdez
  • Jake VanderPlas
  • Jason Zavaglia
  • Jean-Baptiste Lespiau
  • Jeff Pollock
  • Joan Puigcerver
  • Jonas Eschle
  • Josh Darrieulat
  • Joshua V. Dillon
  • Junpeng Lao
  • Kapil Sachdeva
  • Kate Lin
  • Kibeom Kim
  • Luke Metz
  • Mark Daoust
  • Matteo Hessel
  • Michal Brys
  • Oren Bochman
  • Padarn Wilson
  • Pavel Sountsov
  • Peter Hawkins
  • Rif A. Saurous
  • Ru Pei
  • ST John
  • Sharad Vikram
  • Simeon Carstens
  • Srinivas Vasudevan
  • Tom O'Malley
  • Tomer Kaftan
  • Urs Köster
  • Yash Katariya
  • Yilei Yang

Don't miss a new probability release

NewReleases is sending notifications on new releases.