https://medium.com/@monocosmo77/applications-of-markov-chain-monte-carlo-part6-artificial-intelligence-a21cf01ec996