Variational inference is type of approximate inference. It allows use to approxiate posterior distribution . Here is a small notebook that I wrote.
References:
- Pattern Recognition and Machine Learning, Christopher .M. Bishop.
- Variational Inference: A Review for Statisticians, David M. Blei, Alp Kucukelbir, Jon D. McAuliffe