https://medium.com/@monocosmo77/state-of-research-on-ising-models-for-machine-learning-part3-9f2b75188add