Semiparametric Bayesian Regression via Potts Model