blei-lab / edward

A probabilistic programming language in TensorFlow. Deep generative models, variational inference.
http://edwardlib.org
Other
4.83k stars 759 forks source link

Small Typo at the Latex part of param_mixture.py #917

Open cruyffturn opened 6 years ago

cruyffturn commented 6 years ago

I think there is a little typo which gives the following error: TypeError: init() got an unexpected keyword argument 'mu'

I checked the "mixture_gaussian_gibbs.py" example and I suggest the following suggestion params = {'loc': tf.zeros(5), 'scale': tf.ones(5)}

https://github.com/blei-lab/edward/blob/352596c3bc77e1cb5c01f77ac3283a53c74dbf21/edward/models/param_mixture.py#L36

Thanks for this wonderful library.