https://medium.com/@monocosmo77/applications-of-markov-chain-monte-carlo-part1-artificial-intelligence-9f2e33e12821