Learning thermodynamics with Boltzmann machines | Synapse