tensorflow / probability

Probabilistic reasoning and statistical analysis in TensorFlow
https://www.tensorflow.org/probability/
Apache License 2.0
4.27k stars 1.1k forks source link

Bug in annealed importance sampling (AIS) example #376

Closed travelbureau closed 5 years ago

travelbureau commented 5 years ago

In: tensorflow_probability/g3doc/api_docs/python/tfp/mcmc/sample_annealed_importance_chain.md

Line 93:

proposal = tfd.MultivatiateNormalDiag(
   loc=tf.zeros([dims], dtype=dtype))

Should be:

proposal = tfd.MultivariateNormalDiag(
   loc=tf.zeros([dims], dtype=dtype))
axch commented 5 years ago

The updated from #377 has propagated to https://github.com/tensorflow/probability/blob/master/tensorflow_probability/g3doc/api_docs/python/tfp/mcmc/sample_annealed_importance_chain.md. It will propagate to the "more official" docs at https://www.tensorflow.org/probability/api_docs/python/tfp/mcmc/sample_annealed_importance_chain when we do a release.