Cleaned up output of Bayesian learning function.