Skip to content

Instantly share code, notes, and snippets.

@junpenglao
Last active October 18, 2019 11:11
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save junpenglao/f5b3749393c92f516230a1ea389d1380 to your computer and use it in GitHub Desktop.
Save junpenglao/f5b3749393c92f516230a1ea389d1380 to your computer and use it in GitHub Desktop.
Documents/Github/Human_Learning/Miscellaneous/[WIP] Bayesian GMM.ipynb
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@junpenglao
Copy link
Author

junpenglao commented Apr 27, 2017

Currently, this is not working too well yet. To improve from here, it might be necessary to follow Kamary, Lee & Robert (2017), or the more classical Expectation Propagation. It doesn't hurt also to revisited the relevant chapters in Christopher Bishop's Pattern Recognition and Machine Learning.
Better sampling/fitting could be archived by utilising the composing inferences in PyMC3 or Edward (by implementing the special models as described in the papers mentioned above).

@junpenglao
Copy link
Author

junpenglao commented Mar 31, 2018

It should now works a bit more naturally after pymc-devs/pymc#2904 - there is no need to write down the custom logp any more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment