https://medium.com/@monocosmo77/state-of-research-on-ising-models-for-machine-learning-part4-d05c264e07dd