https://123dok.org/document/zx5o3kmd-learning-capabilities-belief-propagation-algorithms-sparse-binary-networks.html