https://medium.com/@monocosmo77/working-with-approximate-bayesian-inference-part5-statisitcal-machine-learning-0b5f446fd278