Bayesian Model Selection, the Marginal Likelihood, and Generalization