Learning to be Bayesian without Supervision