https://medium.com/@monocosmo77/applications-of-markov-chain-monte-carlo-part7-artificial-intelligence-7f5b91376f50