https://medium.com/@monocosmo77/recent-developments-on-bayesian-estimation-part2-machine-learning-d78e9d6fed8f