https://medium.com/@monocosmo77/recent-developments-on-bayesian-estimation-part1-machine-learning-55d8efcdb56f