Deep Learning meets Physics: Restricted Boltzmann Machines Part I