/MCMC-Pyro-Wake-sleep-Model

This repo contains Markov Chain Monte Carlo (MCMC) implementation of wake / sleep model by using Pyro. I've re-implemented the work done with pymc3 on this blog earlier. ( https://towardsdatascience.com/markov-chain-monte-carlo-in-python-44f7e609be98 )

Primary LanguageJupyter NotebookMIT LicenseMIT

MCMC-Pyro-Wake-sleep-Model

This repo contains Markov Chain Monte Carlo (MCMC) implementation of wake / sleep model by using Pyro. I've re-implemented the work done with pymc3 in the blog below. ( https://towardsdatascience.com/markov-chain-monte-carlo-in-python-44f7e609be98 )

image

image image image

image

Package versions:

-pytorch -> 1.7.1+cu110

-pyro -> 1.5.2

References:

https://github.com/WillKoehrsen/ai-projects/tree/master/markov_chain_monte_carlo

https://towardsdatascience.com/markov-chain-monte-carlo-in-python-44f7e609be98

https://towardsdatascience.com/bayesian-generalized-linear-models-with-pyro-b80bc08d7b75

https://www.richard-stanton.com/2020/04/30/fit-dist-with-pyro.html

https://florianwilhelm.info/2020/10/bayesian_hierarchical_modelling_at_scale/

https://github.com/CamDavidsonPilon/Probabilistic-Programming-and-Bayesian-Methods-for-Hackers

https://forum.pyro.ai/t/pyro-complains-im-using-2-devices-cuda-cpu-while-all-tensors-are-on-cuda/2224/2