The Variational Playground for Machine Learning in Statistical Physics