https://medium.com/@monocosmo77/working-with-approximate-bayesian-inference-part4-statisitcal-machine-learning-e4ecba49fe11