Bayesian Prediction via Partitioning