A Bayesian Characterization of Relative Entropy